magnifier: internal methods, fixs #3202

This commit is contained in:
Chi Cheng 2008-08-16 06:04:59 +00:00
parent d7ca21dbfd
commit c5608784db

View File

@ -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];