Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
photos
Commits
ac0850d7
Commit
ac0850d7
authored
Aug 17, 2014
by
Tobias Reich
Browse files
Hide download button when downloadable is off
parent
d392526f
Changes
2
Hide whitespace changes
Inline
Side-by-side
assets/js/view.js
View file @
ac0850d7
...
...
@@ -64,6 +64,7 @@ view = {
$
(
"
#tools_albums, #tools_photo
"
).
hide
();
$
(
"
#tools_album
"
).
show
();
album
.
json
.
content
===
false
?
$
(
"
#button_archive
"
).
hide
()
:
$
(
"
#button_archive
"
).
show
();
if
(
lychee
.
publicMode
&&
album
.
json
.
downloadable
===
"
0
"
)
$
(
"
#button_archive
"
).
hide
();
if
(
albumID
===
"
s
"
||
albumID
===
"
f
"
||
albumID
===
"
r
"
)
{
$
(
"
#button_info_album, #button_trash_album, #button_share_album
"
).
hide
();
}
else
if
(
albumID
===
"
0
"
)
{
...
...
assets/min/main.js
View file @
ac0850d7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment