Browse Source

changed position for checkbox label

Torkel Ödegaard 10 years ago
parent
commit
d4c0d5d81b
1 changed files with 1 additions and 6 deletions
  1. 1 6
      public/app/directives/tip.js

+ 1 - 6
public/app/directives/tip.js

@@ -72,12 +72,7 @@ function (angular, kbn) {
                           '       ng-checked="' + attrs.model + '"></input>' +
                           ' <label for="' + scope.$id + attrs.model + '" class="cr1"></label>';
 
-          if (attrs.position === "front") {
-            template = label + template;
-          } else {
-            template = template + label;
-          }
-
+          template = label + template;
           elem.replaceWith($compile(angular.element(template))(scope));
         }
       };