better IE8- support

pull/25/head
peterd 9 years ago
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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save