Skip to content
Snippets Groups Projects
Commit 89dc8be9 authored by Bart Visscher's avatar Bart Visscher
Browse files

update to !==

parent 855c9480
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment