changed position for checkbox label
This commit is contained in:
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user