Fast fix for broken filters and/or quick access stuff
ng-if will create a new scope, so any `set` operations are on that new scope and not reflected in the parent scope. Using ng-show instead will not create a new scope and therefore does not have this issue. But different from ng-if, ng-show still creates a DOM but just hides it...
This commit is contained in:
parent
7b37e69283
commit
463e745ce7
|
@ -226,12 +226,12 @@
|
||||||
<!-- }}} -->
|
<!-- }}} -->
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div ng-class="{'span3': enable.sidebar.show}" ng-if="enable.sidebar.show">
|
<div ng-class="{'span3': enable.sidebar.show}" ng-show="enable.sidebar.show">
|
||||||
<!-- {{{ nav side bar -->
|
<!-- {{{ nav side bar -->
|
||||||
<div class="well sidebar-nav">
|
<div class="well sidebar-nav">
|
||||||
|
|
||||||
<!-- {{{ download filters -->
|
<!-- {{{ download filters -->
|
||||||
<ul id="filters" class="clearfix nav nav-list" ng-if="enable.sidebar.filters">
|
<ul id="filters" class="clearfix nav nav-list" ng-show="enable.sidebar.filters">
|
||||||
<li class="nav-header">Download Filters</li>
|
<li class="nav-header">Download Filters</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="filter-speed">
|
<label for="filter-speed">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user