aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorChristopher <kondou@ts.unde.re>2013-08-20 12:45:10 -0700
committerChristopher <kondou@ts.unde.re>2013-08-20 12:45:10 -0700
commit90da518e3e24e088db9e2c7b356fda74266d004d (patch)
tree90a70e40faac859f7a926ece109a40c9a915e10a /apps/files_sharing
parentde949b1caa4491a8016ed5e609fc781526fea54d (diff)
parentedd92e4c09151238a89816186914f9382293ab9b (diff)
downloadnextcloud-server-90da518e3e24e088db9e2c7b356fda74266d004d.tar.gz
nextcloud-server-90da518e3e24e088db9e2c7b356fda74266d004d.zip
Merge pull request #4262 from owncloud/fix_jslint_kondou
Fix some JSLint warnings
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/public.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 294223aa094..7ffd5e06873 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -31,19 +31,19 @@ $(document).ready(function() {
}
}
FileActions.register('dir', 'Open', OC.PERMISSION_READ, '', function(filename) {
- var tr = $('tr').filterAttr('data-file', filename)
+ var tr = $('tr').filterAttr('data-file', filename);
if (tr.length > 0) {
window.location = $(tr).find('a.name').attr('href');
}
});
FileActions.register('file', 'Download', OC.PERMISSION_READ, '', function(filename) {
- var tr = $('tr').filterAttr('data-file', filename)
+ var tr = $('tr').filterAttr('data-file', filename);
if (tr.length > 0) {
window.location = $(tr).find('a.name').attr('href');
}
});
FileActions.register('dir', 'Download', OC.PERMISSION_READ, '', function(filename) {
- var tr = $('tr').filterAttr('data-file', filename)
+ var tr = $('tr').filterAttr('data-file', filename);
if (tr.length > 0) {
window.location = $(tr).find('a.name').attr('href')+'&download';
}