From 1027a78e627635025dad1a561b51a7c279f81262 Mon Sep 17 00:00:00 2001 From: Lonewolf Date: Fri, 28 Feb 2014 23:40:13 +0530 Subject: [PATCH] the tooltips are initialized at the begining itself removed unused is_touch from showtip function --- js/foundation/foundation.tooltip.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/foundation/foundation.tooltip.js b/js/foundation/foundation.tooltip.js index 93715939a..8b5f1e43f 100644 --- a/js/foundation/foundation.tooltip.js +++ b/js/foundation/foundation.tooltip.js @@ -31,6 +31,8 @@ var self = this, S = self.S; + self.create(this.S(instance)); + $(this.scope) .off('.tooltip') .on('mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip', @@ -78,7 +80,7 @@ }); }, - showTip : function ($target, is_touch) { + showTip : function ($target) { var $tip = this.getTip($target); return this.show($target); -- 2.47.2