preview theme in pads with arrow keys in dropdown

This commit is contained in:
ClemDee
2019-06-24 10:58:32 +02:00
parent 8545ed749a
commit 8fb66daf7b
2 changed files with 8 additions and 3 deletions

View File

@@ -231,7 +231,7 @@ define([
};
var $block = exp.$language = UIElements.createDropdown(dropdownConfig);
$block.find('button').attr('title', Messages.languageButtonTitle);
var isHovering = false;
var $aLanguages = $block.find('a');
$aLanguages.mouseenter(function () {
@@ -304,7 +304,7 @@ define([
setTheme(theme, $block);
Common.setAttribute(themeKey, theme);
});
if ($drawer) { $drawer.append($block); }
if (cb) { cb(); }
};