Skip to content

Commit

Permalink
init aria-expanded value was added to select2-container
Browse files Browse the repository at this point in the history
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
  • Loading branch information
JuliaKirschenheuter committed Aug 15, 2022
1 parent a4810c5 commit d5dd1fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions apps/systemtags/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
this.collection.fetch({
success: function() {
$('#systemtag').select2(_.extend(self.select2));
$('#systemtag').parent().children('.select2-container').attr('aria-expanded', 'false')
}
});

Expand Down
8 changes: 4 additions & 4 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ module.exports = {
{
test: /\.vue$/,
loader: 'vue-loader',
exclude: BabelLoaderExcludeNodeModulesExcept([
'vue-material-design-icons',
'emoji-mart-vue-fast',
]),
// exclude: BabelLoaderExcludeNodeModulesExcept([
// 'vue-material-design-icons',
// 'emoji-mart-vue-fast',
// ]),
},
{
test: /\.js$/,
Expand Down

0 comments on commit d5dd1fe

Please sign in to comment.