We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcbd379 + 530be48 commit 2211299Copy full SHA for 2211299
src/dimmer/dimmer.js
@@ -18,13 +18,13 @@ angular.module('angularify.semantic.dimmer', [])
18
"</div>",
19
link : function(scope, element, attrs, ngModel) {
20
21
- if (scope.show == false && scope.show == undefined){
22
- scope.show = false;
23
- scope.dimmer_class = 'ui page dimmer';
24
- }
25
- else if (scope.show == true) {
+ if (scope.show == true) {
26
scope.dimmer_class = 'ui page active dimmer';
27
}
+ else {
+ scope.show = false;
+ scope.dimmer_class = 'ui page disable dimmer';
+ }
28
29
//
30
// Click on dimmer handler
@@ -45,4 +45,4 @@ angular.module('angularify.semantic.dimmer', [])
45
});
46
47
};
48
-});
+});
0 commit comments