| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function registerAssets() |
||
| 39 | { |
||
| 40 | $view = $this->getView(); |
||
| 41 | $script = new JsExpression(" |
||
| 42 | $('a[href=\"#control-sidebar-home-tab\"]').parent().removeClass('active'); |
||
| 43 | $('#control-sidebar-home-tab').removeClass('active'); |
||
| 44 | "); |
||
| 45 | if ($this->demo === true) { |
||
| 46 | DemoAsset::register($view); |
||
| 47 | $view->registerJs($script); |
||
| 48 | } |
||
| 51 |