kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 282 forks source link

fix destroy functionality #70

Open LOK-Soft opened 8 years ago

LOK-Soft commented 8 years ago

includes "Remove window event listeners when plugin is destroyed" (tokybd) Merge remove event listeners and will set vars to undefined instead of "null" in order to be able to reinitialize.

Maximilianos commented 8 years ago

+1