Skip to content

Commit

Permalink
Merge pull request #1 from lithiumtech/bugfix/LIA-69612
Browse files Browse the repository at this point in the history
LIA-69612 Prevent init when CSS is "none"
  • Loading branch information
adamayres authored Nov 23, 2020
2 parents 0738b32 + 74e805e commit 63ed0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular-deckgrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ angular.module('akoenig.deckgrid').factory('DeckgridDescriptor', [
domWatch = scope.$watch(function() {
return $window.getComputedStyle(elem[0], ':before').content;
}, function(content) {
if (content !== '') {
if (content !== '' && content !== 'none') {
styleReady.resolve();
// Clear the watcher once element is initialized
domWatch();
Expand Down

0 comments on commit 63ed0d4

Please sign in to comment.