Added important to route display state to force a route to not be visible.
This commit is contained in:
parent
aac9b6d59a
commit
ca243e9b67
@ -47,7 +47,7 @@ IgniteTemplate.prototype.route = function(routes, showCallback = null, hideCallb
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//Hide the route element.
|
//Hide the route element.
|
||||||
this.element.style.setProperty("display", "none");
|
this.element.style.setProperty("display", "none", "important");
|
||||||
|
|
||||||
if (hideCallback) {
|
if (hideCallback) {
|
||||||
hideCallback();
|
hideCallback();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user