[FIX] web_editor: rte_inline tour succeed on chrome

The rte_inline tour was failing on chrome because jquery selector in
chrome does not like a space in the style selector.
On the other hand, other browsers and phantomjs need the space.
This commit change the selector to find the element on chrome and
friends.
This commit is contained in:
Christophe Monniez
2017-12-18 22:44:44 +01:00
parent 357b1422f2
commit 231c4d5fd8
+1 -1
View File
@@ -323,6 +323,6 @@ tour.register('rte_inline', {
trigger: '#wrapwrap img:eq(1)[height]:not([class*="fa"])',
}, {
content: "check the second font class to css",
trigger: '#wrapwrap img:eq(2)[style*="float: right"]',
trigger: '#wrapwrap img:eq(2)[style*="float: right"],#wrapwrap img:eq(2)[style*="float:right"]',
}]);
});