Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 07:34:56 +0000 (15:34 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 07:34:56 +0000 (15:34 +0800)
Roo/bootstrap/Popover.js

index d3925b9..b6088e2 100644 (file)
@@ -142,10 +142,10 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         if (!this.delay || !this.delay.show) {
             return self.show();
         }
-    
+        var _t = this;
         this.timeout = setTimeout(function () {
-            if (self.hoverState == 'in') {
-                self.show();
+            if (t.hoverState == 'in') {
+                _t.show();
             }
         }, this.delay.show)
       }