Merge pull request #10626 from nextcloud/bugfix/noid/quickaccess-spaces
Fix quickaccess active indicator for folders with spaces
This commit is contained in:
commit
7dc4fadc21
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@
|
|||
* @param array options "silent" to not trigger event
|
||||
*/
|
||||
setActiveItem: function (itemId, options) {
|
||||
var currentItem = this.$el.find('li[data-id=' + itemId + ']');
|
||||
var currentItem = this.$el.find('li[data-id="' + itemId + '"]');
|
||||
var itemDir = currentItem.data('dir');
|
||||
var itemView = currentItem.data('view');
|
||||
var oldItemId = this._activeItem;
|
||||
|
@ -135,7 +135,7 @@
|
|||
* Returns whether a given item exists
|
||||
*/
|
||||
itemExists: function (itemId) {
|
||||
return this.$el.find('li[data-id=' + itemId + ']').length;
|
||||
return this.$el.find('li[data-id="' + itemId + '"]').length;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue