diff --git a/.gitignore b/.gitignore index 7d482925d7..423c172d27 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.swp .bundle .idea/ +.vscode/ .rvmrc .sass-cache .yardoc diff --git a/src/rails_admin/filtering-multiselect.js b/src/rails_admin/filtering-multiselect.js index cad98f2601..d25bce2a48 100644 --- a/src/rails_admin/filtering-multiselect.js +++ b/src/rails_admin/filtering-multiselect.js @@ -1,7 +1,6 @@ import jQuery from "jquery"; import "jquery-ui/ui/widget"; import I18n from "./i18n"; - (function ($) { $.widget("ra.filteringMultiselect", { _cache: {}, @@ -112,15 +111,11 @@ import I18n from "./i18n"; } if (this.options.sortable) { this.up = $( - '' + - this.options.regional.up + - "" - ); + '' + ).attr("title", this.options.regional.up); this.down = $( - '' + - this.options.regional.down + - "" - ); + '' + ).attr("title", this.options.regional.down); columns.center.append(this.up).append(this.down); }