mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
magnifier: internal methods, fixs #3202
This commit is contained in:
parent
d7ca21dbfd
commit
c5608784db
@ -59,7 +59,7 @@ $.widget("ui.magnifier", {
|
||||
|
||||
this.identifier = ++counter;
|
||||
$(document).bind("mousemove.magnifier"+this.identifier, function(e) {
|
||||
(self.disabled || self.magnify.apply(self, [e]));
|
||||
(self.disabled || self._magnify.apply(self, [e]));
|
||||
});
|
||||
|
||||
this.pp = this.element.offset();
|
||||
@ -95,7 +95,7 @@ $.widget("ui.magnifier", {
|
||||
});
|
||||
},
|
||||
|
||||
magnify: function(e) {
|
||||
_magnify: function(e) {
|
||||
var p = [e.pageX,e.pageY], o = this.options, c, distance = 1;
|
||||
this.current = this.items[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user