vendor/assets/javascripts/extensions/_wysiwyg.js in active_frontend-17.4.0 vs vendor/assets/javascripts/extensions/_wysiwyg.js in active_frontend-17.4.1
- old
+ new
@@ -1274,20 +1274,20 @@
trigger: 'hover',
placement: 'bottom'
});
}
});
- var dropdown = renderer.create('<ul class="dropmenu caret">', function ($node, options) {
+ var dropdown = renderer.create('<ul class="dropmenu white caret">', function ($node, options) {
var markup = $.isArray(options.items) ? options.items.map(function (item) {
var value = (typeof item === 'string') ? item : (item.value || '');
var content = options.template ? options.template(item) : item;
return '<li><a href="#" data-value="' + value + '">' + content + '</a></li>';
}).join('') : options.items;
$node.html(markup);
});
- var dropdownCheck = renderer.create('<ul class="dropmenu caret wysiwyg-check">', function ($node, options) {
+ var dropdownCheck = renderer.create('<ul class="dropmenu white caret wysiwyg-check">', function ($node, options) {
var markup = $.isArray(options.items) ? options.items.map(function (item) {
var value = (typeof item === 'string') ? item : (item.value || '');
var content = options.template ? options.template(item) : item;
return '<li><a href="#" data-value="' + value + '">' + icon(options.checkClassName) + ' ' + content + '</a></li>';
}).join('') : options.items;