diff options
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/styles-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index 64efdb19..aca86ec5 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js | |||
@@ -649,6 +649,7 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
649 | 649 | ||
650 | if(!element.parentNode) { | 650 | if(!element.parentNode) { |
651 | console.warn('StylesController::getMatchingRules - Un-attached element queried'); | 651 | console.warn('StylesController::getMatchingRules - Un-attached element queried'); |
652 | return []; | ||
652 | } | 653 | } |
653 | 654 | ||
654 | try { | 655 | try { |