diff --git a/jQuery_implementation/jqColor.js b/jQuery_implementation/jqColor.js index deb0a04..ebfc487 100644 --- a/jQuery_implementation/jqColor.js +++ b/jQuery_implementation/jqColor.js @@ -68,7 +68,7 @@ klass: window.ColorPicker, input: elm, patch: elm, - isIE8: document.all && !document.addEventListener, // Opera??? + isIE8: !!document.all && !document.addEventListener, // Opera??? animationSpeed: 200, draggable: true, margin: {left: -1, top: 2},