diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-08-09 18:31:02 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-08-09 18:31:02 +0200 |
commit | d54635fc7db2415b293d7d7582d42dbda56059f5 (patch) | |
tree | 7825664a4b7010a97eed63298c4b391f7f25809e /apps/files | |
parent | 7648bb05e9ea179726aec032ab0ca98afd3d36d6 (diff) | |
download | nextcloud-server-d54635fc7db2415b293d7d7582d42dbda56059f5.tar.gz nextcloud-server-d54635fc7db2415b293d7d7582d42dbda56059f5.zip |
Fix quickaccess active indicator for folders with spaces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/navigation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js index 7a89159c1f0..9fc2180c923 100644 --- a/apps/files/js/navigation.js +++ b/apps/files/js/navigation.js @@ -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; }, /** |