| 1235 | elements.button.toggleClass(NAMESPACE+'-icon', !on); |
| 1236 | } |
| 1237 | };;function showMethod(event) { |
| 1238 | if(this.tooltip.hasClass(CLASS_DISABLED)) { return FALSE; } |
| 1239 | |
| 1240 | // Clear hide timers |
| 1241 | clearTimeout(this.timers.show); |
| 1242 | clearTimeout(this.timers.hide); |
| 1243 | |
| 1244 | // Start show timer |
| 1245 | var callback = $.proxy(function(){ this.toggle(TRUE, event); }, this); |
| 1246 | if(this.options.show.delay > 0) { |
| 1247 | this.timers.show = setTimeout(callback, this.options.show.delay); |
| 1248 | } |
| 1249 | else{ callback(); } |
| 1250 | } |
| 1251 | |
| 1252 | function hideMethod(event) { |
| 1253 | if(this.tooltip.hasClass(CLASS_DISABLED)) { return FALSE; } |