aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 09:17:02 -0800
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 09:17:02 -0800
commit271088a7a23ffcdb2082b6dfc5b6f50833612a0f (patch)
treea2d37b8187b262ab3267a35a83db82fc29ccb546 /apps/files/js/files.js
parentafa00318bcabf53bed4f33633dae55c9efa43dd7 (diff)
parentedea7781b713cc136fede6dfe51b9abbf9a94cf0 (diff)
downloadnextcloud-server-271088a7a23ffcdb2082b6dfc5b6f50833612a0f.tar.gz
nextcloud-server-271088a7a23ffcdb2082b6dfc5b6f50833612a0f.zip
Merge pull request #6777 from owncloud/mobile-style
Mobile style for public links: files, folders, picture sets
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 2fe4ab464c8..d794a1584de 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -751,7 +751,7 @@ Files.lazyLoadPreview = function(path, mime, ready, width, height, etag) {
console.warn('Files.lazyLoadPreview(): missing etag argument');
}
- if ( $('#public_upload').length ) {
+ if ( $('#isPublic').length ) {
urlSpec.t = $('#dirToken').val();
previewURL = OC.Router.generate('core_ajax_public_preview', urlSpec);
} else {