Commit 0b469eb
committed
Updated modal.js to use ng-class
Instead of using the link function to add a watch that only changes the class list of the dimmer element. Just use ng-class to watch the model instead, then you do not need any code in your link function.1 parent 7393a45 commit 0b469eb
1 file changed
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 18 | + | |
33 | 19 | | |
34 | 20 | | |
35 | 21 | | |
0 commit comments