Skip to content

Commit 29ed679

Browse files
committed
Replace .empty().append() with .html()
1 parent 7485e6e commit 29ed679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/js/core/directives/ui-grid-cell.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ angular.module('ui.grid').directive('uiGridCell', ['$compile', '$log', '$parse',
1010
var compiledElementFn = $scope.col.compiledElementFn;
1111

1212
compiledElementFn($scope, function(clonedElement, scope) {
13-
$elm.empty().append(clonedElement);
13+
$elm.html(clonedElement);
1414
});
1515
}
1616

0 commit comments

Comments
 (0)