Procházet zdrojové kódy

Changes on fallback.js

@soyjavi před 14 roky
rodič
revize
5e63b8c838
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      src/Lungo.Fallback.js

+ 8 - 0
src/Lungo.Fallback.js

@@ -26,6 +26,14 @@ LUNGO.Fallback = (function(lng, undefined) {
         }
         }
     };
     };
 
 
+    var _addClassActiveToButton = function(element) {
+        lng.dom(this).addClass('active');
+    };
+
+    var _removeClassActiveToButton = function(element) {
+        lng.dom(this).removeClass('active');
+    };
+
     return {
     return {
     	androidButtons: androidButtons,
     	androidButtons: androidButtons,
     	positionFixed: positionFixed
     	positionFixed: positionFixed