add support for title attributes on dropdowns

pull/1/head
ansuz 8 years ago
parent 01c4d7d4a7
commit e1303a16da

@ -1079,10 +1079,15 @@ define([
// Container
var $container = $(config.container);
var containerConfig = {
'class': 'dropdown-bar'
};
if (config.buttonTitle) {
containerConfig.title = config.buttonTitle;
}
if (!config.container) {
$container = $('<span>', {
'class': 'dropdown-bar'
});
$container = $('<span>', containerConfig);
}
// Button

Loading…
Cancel
Save