2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-06-27 21:21:02 -06:00

better IE8- support

This commit is contained in:
peterd 2015-02-17 14:34:41 +01:00
parent f63caa14be
commit e693f745d5
3 changed files with 5 additions and 4 deletions

View File

@ -133,7 +133,8 @@
var action = this.className.
replace(/cp-(.*?)(?:\s*|$)/, '$1').replace('-', '_');
e.preventDefault();
e.preventDefault && e.preventDefault();
e.returnValue = false;
_$trigger._offset = $(this).offset();
(action = action === 'xy_slider' ? xy_slider :

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long