diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-03-25 19:45:26 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-03-25 19:45:26 +0100 |
| commit | f00c490be8688d80f211f6755b5ada541eefd602 (patch) | |
| tree | 39fad5136327db80653801f8a40f3c5c807c65d0 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 28a1371035fae9892e1ceeb6c9edd7ddda806ed5 (diff) | |
| parent | 11b1e12cde37cc002e475d11793be61d9d108290 (diff) | |
[MERGE] forward port branch 12.0 up to 11b1e12cde3
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
| -rw-r--r-- | addons/web_editor/static/src/js/editor/transcoder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/editor/transcoder.js b/addons/web_editor/static/src/js/editor/transcoder.js index 85903f6b4eb..745e8492b11 100644 --- a/addons/web_editor/static/src/js/editor/transcoder.js +++ b/addons/web_editor/static/src/js/editor/transcoder.js @@ -174,7 +174,7 @@ function getMatchedCSSRules(a) { break; } $el = $el.parent(); - } while (!$el.is('html')); + } while ($el.length && !$el.is('html')); } return style; |
