EQCSS 1.6.0
- add
EQCSS.reset()function to reset upEQCSS.dataand the DOM from the tags and attributes EQCSS generates when it runs (you can reload EQCSS any time after runningEQCSS.reset()by runningEQCSS.load())
This helps issue #64
-
switch
mousedownevent listener to only trigger on left mouse button clicks to recalculate EQCSS on left click drag. (Previous to version 1.6.0, EQCSS would trigger for allmousemoveevents betweenmousedownandmouseupfor mouse clicks of all buttons) -
performance improvements:
-
- replace
==with===and!=with!==
- replace
-
- replace
querySelectorAll()withgetElementsByTagName()
- replace
-
- replace
getAttribute('rel')&getAttribute('type')withrel&type
- replace