|
|
@ -369,7 +369,6 @@ define([
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var $block = exp.$theme = UIElements.createDropdown(dropdownConfig);
|
|
|
|
var $block = exp.$theme = UIElements.createDropdown(dropdownConfig);
|
|
|
|
$block.find('button').attr('title', Messages.themeButtonTitle).click(function () {
|
|
|
|
$block.find('button').attr('title', Messages.themeButtonTitle).click(function () {
|
|
|
|
// XXX copy-pasted code from configureLanguage. We can refactor this.
|
|
|
|
|
|
|
|
var state = $block.find('.cp-dropdown-content').is(':visible');
|
|
|
|
var state = $block.find('.cp-dropdown-content').is(':visible');
|
|
|
|
var $c = $block.closest('.cp-toolbar-drawer-content');
|
|
|
|
var $c = $block.closest('.cp-toolbar-drawer-content');
|
|
|
|
$c.removeClass('cp-dropdown-visible');
|
|
|
|
$c.removeClass('cp-dropdown-visible');
|
|
|
|