diff --git a/core/misc/dropbutton/dropbutton.css b/core/misc/dropbutton/dropbutton.css index 8e0fb82..c2e6820 100644 --- a/core/misc/dropbutton/dropbutton.css +++ b/core/misc/dropbutton/dropbutton.css @@ -94,7 +94,7 @@ .js .dropbutton--multiple { padding-right: 2em; /* LTR */ } -.js[dir="rtl"] .dropbutton--multiple { +[dir="rtl"].js .dropbutton--multiple { padding-left: 2em; padding-right: 0; } diff --git a/core/misc/dropbutton/dropbutton.js b/core/misc/dropbutton/dropbutton.js index a8d4077..654705f 100644 --- a/core/misc/dropbutton/dropbutton.js +++ b/core/misc/dropbutton/dropbutton.js @@ -85,7 +85,7 @@ var $primary = this.$actions.slice(0, 1).find('a'); // Remove parent
  • for first dropbutton action and move. $primary.unwrap().addClass('button dropbutton__action').each(function() { - $(this).parent().before(this); + $(this).parent().before(this); }); // Identify the secondary actions. var $secondary = this.$actions.slice(1).find('a'); @@ -125,7 +125,7 @@ }); } else { - //TODO route through button theming + // @todo Route through button theming. this.$dropbutton.addClass('dropbutton--single'); var $action = this.$actions.slice(0, 1).find('a'); $action.unwrap().unwrap().addClass('button dropbutton__action');