ng-jhipster
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -69,3 +69,3 @@ { | ||
}, | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"scripts": { | ||
@@ -72,0 +72,0 @@ "cleanup": "rimraf src/*.d.ts src/**/*.d.ts src/*.js src/**/*.js aot/* tests/**/*.d.ts tests/**/*.js tests/*.d.ts tests/*.js", |
@@ -50,9 +50,10 @@ /* | ||
JhiSortDirective.prototype.resetClasses = function () { | ||
var _this = this; | ||
var allThIcons = this.element.querySelectorAll(this.sortIconSelector); | ||
allThIcons.forEach(function (value) { | ||
value.classList.remove(_this.sortAscIcon); | ||
value.classList.remove(_this.sortDescIcon); | ||
value.classList.add(_this.sortIcon); | ||
}); | ||
// Use normal loop instead of forEach because IE does not support forEach on NodeList. | ||
for (var i = 0; i < allThIcons.length; i++) { | ||
allThIcons[i].classList.remove(this.sortAscIcon); | ||
allThIcons[i].classList.remove(this.sortDescIcon); | ||
allThIcons[i].classList.add(this.sortIcon); | ||
} | ||
; | ||
}; | ||
@@ -59,0 +60,0 @@ ; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1097214
9514