You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I was using bootstrap 3.0.2 glyphicons with ng-class, and it worked fine with Angular JS 1.2.14. After moving 1.2.16, the icons were not displaying correctly when classes are dynamically changed. Below are part of js code of my tree directive:
var iconElem = document.createElement('I');
iconElem.className = "my-tree-node-icon";
iconElem.setAttribute("ng-class", "{ 'glyphicon glyphicon-folder-close': !expanded && " +
"item.is_parent, 'glyphicon glyphicon-folder-open': expanded && " +
"item.is_parent, 'glyphicon glyphicon-file': !item.is_parent }");
wrapperElem.appendChild(iconElem);
I was using bootstrap 3.0.2 glyphicons with ng-class, and it worked fine with Angular JS 1.2.14. After moving 1.2.16, the icons were not displaying correctly when classes are dynamically changed. Below are part of js code of my tree directive:
var iconElem = document.createElement('I');
iconElem.className = "my-tree-node-icon";
iconElem.setAttribute("ng-class", "{ 'glyphicon glyphicon-folder-close': !expanded && " +
"item.is_parent, 'glyphicon glyphicon-folder-open': expanded && " +
"item.is_parent, 'glyphicon glyphicon-file': !item.is_parent }");
wrapperElem.appendChild(iconElem);
There seems to be the same issue before:
#6419
Is this bug reocurring again?
The text was updated successfully, but these errors were encountered: