remove invalid XXX note

pull/1/head
ansuz 5 years ago
parent ee9f725b3c
commit 043b2d24ea

@ -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');

Loading…
Cancel
Save