Skip to content

Commit 452a812

Browse files
prx-lmomportuga
authored andcommitted
[hotfix/4396]
- exchanged jquery's text() function with more efficient direct assignment
1 parent c2755e5 commit 452a812

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/js/directives/ui-grid-style.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545

4646
if (interpolateFn) {
4747
$scope.$watch(interpolateFn, function(value) {
48-
$elm.text(value);
48+
for (let i = 0; i < $elm.length; i++) {
49+
$elm[i].textContent = value;
50+
}
4951
});
5052
}
5153
}

0 commit comments

Comments
 (0)