Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-03-15 17:03:23 +0300
committerOlivier Paroz <github@oparoz.com>2015-03-15 17:03:23 +0300
commit0dd0bd2af15828f26abfb1ffb01fd67a70f5785c (patch)
tree4859ff5d74199ba230302f80bfcfb4792ab95d1f /js/gallerybutton.js
parentd5c3a6d9fc67710d8e6fcbdcd0345b1db54bd2d0 (diff)
Various style fixes
Diffstat (limited to 'js/gallerybutton.js')
-rw-r--r--js/gallerybutton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gallerybutton.js b/js/gallerybutton.js
index cf1e6f58..8d69a572 100644
--- a/js/gallerybutton.js
+++ b/js/gallerybutton.js
@@ -18,7 +18,7 @@ GalleryButton.onFileListUpdated = function () {
files = fileList.files;
GalleryButton.buildUrl(fileList.getCurrentDirectory().replace(/^\//, ''));
-
+
for (var i = 0; i < files.length; i++) {
var file = files[i];
if (file.isPreviewAvailable) {
@@ -48,7 +48,7 @@ GalleryButton.hijackShare = function () {
OC.Share.showLink = function () {
var r = target.apply(this, arguments);
if ($('#dropdown.drop.shareDropDown').data('item-type') === "folder") {
-
+
if (!$('#linkSwitchButton').length) {
var linkSwitchButton = '<a class="button" id="linkSwitchButton">' +
t(GalleryButton.appName, 'Show Gallery link') + '</a>';