Internet Exploder Explorer has an incomplete implementation of classList.toggle, in that it only accepts one parameter - the name of the class. Hence, when displaying any page with a <paper-progress> element, the element would start off in indeterminate mode, and any change to the indeterminate property would simply toggle the mode on and off without regard to the property's value. I've rewritten the _toggleIndeterminate function to use toggleClass from the Polymer core, which handles the second boolean parameter and thus fixes the bug.
Also, I noticed .gitignore was missing, so I threw one in.
Internet
ExploderExplorer has an incomplete implementation ofclassList.toggle
, in that it only accepts one parameter - the name of the class. Hence, when displaying any page with a<paper-progress>
element, the element would start off inindeterminate
mode, and any change to theindeterminate
property would simply toggle the mode on and off without regard to the property's value. I've rewritten the_toggleIndeterminate
function to usetoggleClass
from the Polymer core, which handles the second boolean parameter and thus fixes the bug.Also, I noticed
.gitignore
was missing, so I threw one in.