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();