]> source.dussan.org Git - jquery-ui.git/commitdiff
magnifier: internal methods, fixs #3202
authorChi Cheng <cloudream@gmail.com>
Sat, 16 Aug 2008 06:04:59 +0000 (06:04 +0000)
committerChi Cheng <cloudream@gmail.com>
Sat, 16 Aug 2008 06:04:59 +0000 (06:04 +0000)
ui/ui.magnifier.js

index 0dc8efbf174394853587306b149c585985c13f4a..2d8bac5d1ea49fb5f196b54fae7fde52a57a2e1d 100644 (file)
@@ -59,7 +59,7 @@ $.widget("ui.magnifier", {
                \r
                this.identifier = ++counter;\r
                $(document).bind("mousemove.magnifier"+this.identifier, function(e) {\r
-                       (self.disabled || self.magnify.apply(self, [e]));\r
+                       (self.disabled || self._magnify.apply(self, [e]));\r
                });\r
                \r
                this.pp = this.element.offset();\r
@@ -95,7 +95,7 @@ $.widget("ui.magnifier", {
                });\r
        },\r
        \r
-       magnify: function(e) {\r
+       _magnify: function(e) {\r
                var p = [e.pageX,e.pageY], o = this.options, c, distance = 1;\r
                this.current = this.items[0];\r
                \r