From 97dc1583ea5cdce521fc2aa2857703037cda4b27 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 27 Jan 2018 16:16:41 -0500 Subject: [PATCH] Remove commented out references to tiptip --- js/main.js | 11 ----------- view/theme/frost-mobile/js/main.js | 15 --------------- view/theme/frost/js/main.js | 13 ------------- 3 files changed, 39 deletions(-) diff --git a/js/main.js b/js/main.js index 6bf5149b2..77c240f37 100644 --- a/js/main.js +++ b/js/main.js @@ -64,17 +64,6 @@ $(function() { $.ajaxSetup({cache: false}); - /* setup tooltips *//* - $("a,.tt").each(function(){ - var e = $(this); - var pos="bottom"; - if (e.hasClass("tttop")) pos="top"; - if (e.hasClass("ttbottom")) pos="bottom"; - if (e.hasClass("ttleft")) pos="left"; - if (e.hasClass("ttright")) pos="right"; - e.tipTip({defaultPosition: pos, edgeOffset: 8}); - });*/ - /* setup comment textarea buttons */ /* comment textarea buttons needs some "data-*" attributes to work: * data-role="insert-formatting" : to mark the element as a formatting button diff --git a/view/theme/frost-mobile/js/main.js b/view/theme/frost-mobile/js/main.js index b7b11ef1f..5a884192e 100644 --- a/view/theme/frost-mobile/js/main.js +++ b/view/theme/frost-mobile/js/main.js @@ -47,21 +47,6 @@ $(function() { $.ajaxSetup({cache: false}); - //collapseHeight(); - - /* setup tooltips *//* - $("a,.tt").each(function(){ - var e = $(this); - var pos="bottom"; - if (e.hasClass("tttop")) pos="top"; - if (e.hasClass("ttbottom")) pos="bottom"; - if (e.hasClass("ttleft")) pos="left"; - if (e.hasClass("ttright")) pos="right"; - e.tipTip({defaultPosition: pos, edgeOffset: 8}); - });*/ - - - /* setup onoff widgets */ $(".onoff input").each(function(){ val = $(this).val(); diff --git a/view/theme/frost/js/main.js b/view/theme/frost/js/main.js index add248fc6..0afdf6815 100644 --- a/view/theme/frost/js/main.js +++ b/view/theme/frost/js/main.js @@ -49,19 +49,6 @@ collapseHeight(); - /* setup tooltips *//* - $("a,.tt").each(function(){ - var e = $(this); - var pos="bottom"; - if (e.hasClass("tttop")) pos="top"; - if (e.hasClass("ttbottom")) pos="bottom"; - if (e.hasClass("ttleft")) pos="left"; - if (e.hasClass("ttright")) pos="right"; - e.tipTip({defaultPosition: pos, edgeOffset: 8}); - });*/ - - - /* setup onoff widgets */ $(".onoff input").each(function(){ val = $(this).val();