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-09-16 00:59:36 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-16 00:59:36 +0300
commita480870ced01b6ae8924c61ea14635d83f5d4aa9 (patch)
treea6258ff2807d9d58b6eaa0bb0a07c7c0372da68c /js/gallerybutton.js
parent7d58bffe5d42618a217833fff5848c17ccc356f7 (diff)
[8.2] Make the Gallery button in Files more discreet
Diffstat (limited to 'js/gallerybutton.js')
-rw-r--r--js/gallerybutton.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/js/gallerybutton.js b/js/gallerybutton.js
index 24d3a40f..d645a39f 100644
--- a/js/gallerybutton.js
+++ b/js/gallerybutton.js
@@ -57,17 +57,12 @@ $(document).ready(function () {
$('#fileList').on('updated', GalleryButton.onFileListUpdated);
- // Toggle for opening files list as gallery view
+ // Button for opening files list as gallery view
GalleryButton.button =
- $('<div id="gallery-button" class="button view-switcher right-switch-button inactive-button">' +
+ $('<div id="gallery-button" class="button view-switcher">' +
'<img class="svg" src="' + OC.imagePath('core', 'actions/toggle-pictures.svg') +
'"' +
- 'alt="' + t('gallery', 'Picture view') + '"/>' +
- '</div>' +
- '<div class="button view-switcher left-switch-button disabled-button">' +
- '<img class="svg" src="' + OC.imagePath('core', 'actions/toggle-filelist.svg') +
- '"' +
- 'alt="' + t('gallery', 'Picture view') + '"/>' +
+ 'alt="' + t('gallery', 'Gallery view') + '"/>' +
'</div>');
GalleryButton.button.click(function () {