summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-06-28 21:00:09 +0200
committerBart Visscher <bartv@thisnet.nl>2013-06-28 21:00:09 +0200
commit89dc8be9f550310f86e2e7da9cdb1da630080f49 (patch)
tree1ff2b3fb6413d3a82154187b108aa52a3efdd0a1
parent855c9480b73d0ea3f6d0562503db5d72f64c14db (diff)
downloadnextcloud-server-89dc8be9f550310f86e2e7da9cdb1da630080f49.tar.gz
nextcloud-server-89dc8be9f550310f86e2e7da9cdb1da630080f49.zip
update to !==
-rw-r--r--apps/files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 316acda5133..fac0ed1ff9b 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -191,7 +191,7 @@ FileActions.register('all', 'Rename', OC.PERMISSION_UPDATE, function () {
FileActions.register('dir', 'Open', OC.PERMISSION_READ, '', function (filename) {
var dir = $('#dir').val()
- if (dir != '/') {
+ if (dir !== '/') {
dir = dir + '/';
}
window.location = OC.linkTo('files', 'index.php') + '?dir=' + encodeURIComponent(dir + filename);