diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-20 14:28:33 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-10-07 11:14:10 +0200 |
commit | 8899543b7f69ae831db09e29955b4365317c6235 (patch) | |
tree | 1f2191249858b822d7c242676fa4c7ee1a5e5696 /apps/files | |
parent | 981608cf6b82daf6f8610ad0b5db319f663a02a7 (diff) | |
download | nextcloud-server-8899543b7f69ae831db09e29955b4365317c6235.tar.gz nextcloud-server-8899543b7f69ae831db09e29955b4365317c6235.zip |
use !== comparison
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 3c99e3876c7..a9297996778 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -804,7 +804,7 @@ $(document).ready(function(){ data.context.attr('data-mime',file.mime).attr('data-id',file.id); var permissions = data.context.data('permissions'); - if(permissions != file.permissions) { + if(permissions !== file.permissions) { data.context.attr('data-permissions', file.permissions); data.context.data('permissions', file.permissions); } |