mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-06-27 21:21:02 -06:00
better IE8- support
This commit is contained in:
parent
f63caa14be
commit
e693f745d5
@ -133,7 +133,8 @@
|
|||||||
var action = this.className.
|
var action = this.className.
|
||||||
replace(/cp-(.*?)(?:\s*|$)/, '$1').replace('-', '_');
|
replace(/cp-(.*?)(?:\s*|$)/, '$1').replace('-', '_');
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault && e.preventDefault();
|
||||||
|
e.returnValue = false;
|
||||||
|
|
||||||
_$trigger._offset = $(this).offset();
|
_$trigger._offset = $(this).offset();
|
||||||
(action = action === 'xy_slider' ? xy_slider :
|
(action = action === 'xy_slider' ? xy_slider :
|
||||||
|
File diff suppressed because one or more lines are too long
4
jqColorPicker.min.js
vendored
4
jqColorPicker.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user