mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-07-15 14:04:28 -06:00
right click
This commit is contained in:
parent
2b1162fce4
commit
2d23b9553b
@ -141,6 +141,8 @@
|
|||||||
var action = this.className.
|
var action = this.className.
|
||||||
replace(/cp-(.*?)(?:\s*|$)/, '$1').replace('-', '_');
|
replace(/cp-(.*?)(?:\s*|$)/, '$1').replace('-', '_');
|
||||||
|
|
||||||
|
if ((e.button || e.which) > 1) return;
|
||||||
|
|
||||||
e.preventDefault && e.preventDefault();
|
e.preventDefault && e.preventDefault();
|
||||||
e.returnValue = false;
|
e.returnValue = false;
|
||||||
|
|
||||||
@ -207,7 +209,7 @@
|
|||||||
a = alpha * _$alpha._width,
|
a = alpha * _$alpha._width,
|
||||||
translate3d = _GPU ? 'translate3d' : '',
|
translate3d = _GPU ? 'translate3d' : '',
|
||||||
triggerValue = _$trigger[0].value,
|
triggerValue = _$trigger[0].value,
|
||||||
hasNoValue = _$trigger[0].hasAttribute('value') &&
|
hasNoValue = _$trigger[0].hasAttribute('value') && // question this
|
||||||
triggerValue === '' && toggled !== undefined;
|
triggerValue === '' && toggled !== undefined;
|
||||||
|
|
||||||
_$xy_slider._css = {
|
_$xy_slider._css = {
|
||||||
|
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