Skip to content

Commit

Permalink
Merge branch 'master' of github.com:imsys/foundation into imsys-master
Browse files Browse the repository at this point in the history
  • Loading branch information
thedeerchild committed Sep 18, 2013
2 parents 50ad2b6 + 9405b73 commit bc497a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/foundation/foundation.tooltips.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
selector : '.has-tip',
additionalInheritableClasses : [],
tooltipClass : '.tooltip',
tapToClose_text: 'tap to close',
appendTo: 'body',
'disable-for-touch': false,
tipTemplate : function (selector, content) {
Expand Down Expand Up @@ -110,7 +111,7 @@

$tip.addClass(classes).appendTo(this.settings.appendTo);
if (Modernizr.touch) {
$tip.append('<span class="tap-to-close">tap to close </span>');
$tip.append('<span class="tap-to-close">'+this.settings.tapToClose_text+'</span>');
}
$target.removeAttr('title').attr('title','');
this.show($target);
Expand Down

0 comments on commit bc497a9

Please sign in to comment.