Made settings ui a little less jumpy

This commit is contained in:
Dan Brown
2016-04-24 10:28:47 +01:00
parent 2dc1180a41
commit 9dc1b35e82
3 changed files with 10 additions and 5 deletions

View File

@ -15,7 +15,7 @@ module.exports = function (ngApp, events) {
*/
ngApp.directive('toggleSwitch', function () {
return {
restrict: 'E',
restrict: 'A',
template: toggleSwitchTemplate,
scope: true,
link: function (scope, element, attrs) {