Moved a line
This commit is contained in:
parent
177d7dda95
commit
7699fd0498
File diff suppressed because one or more lines are too long
@ -15,8 +15,8 @@ view = {
|
|||||||
|
|
||||||
if (visible.photo()) {
|
if (visible.photo()) {
|
||||||
lychee.imageview.removeClass("full");
|
lychee.imageview.removeClass("full");
|
||||||
lychee.loadingBar.css("opacity", 1);
|
|
||||||
lychee.header.removeClass("hidden");
|
lychee.header.removeClass("hidden");
|
||||||
|
lychee.loadingBar.css("opacity", 1);
|
||||||
if ($("#imageview #image.small").length>0) {
|
if ($("#imageview #image.small").length>0) {
|
||||||
$("#imageview #image").css({
|
$("#imageview #image").css({
|
||||||
marginTop: -1*($("#imageview #image").height()/2)+20
|
marginTop: -1*($("#imageview #image").height()/2)+20
|
||||||
@ -36,8 +36,8 @@ view = {
|
|||||||
clearTimeout($(window).data("timeout"));
|
clearTimeout($(window).data("timeout"));
|
||||||
$(window).data("timeout", setTimeout(function() {
|
$(window).data("timeout", setTimeout(function() {
|
||||||
lychee.imageview.addClass("full");
|
lychee.imageview.addClass("full");
|
||||||
lychee.loadingBar.css("opacity", 0);
|
|
||||||
lychee.header.addClass("hidden");
|
lychee.header.addClass("hidden");
|
||||||
|
lychee.loadingBar.css("opacity", 0);
|
||||||
if ($("#imageview #image.small").length>0) {
|
if ($("#imageview #image.small").length>0) {
|
||||||
$("#imageview #image").css({
|
$("#imageview #image").css({
|
||||||
marginTop: -1*($("#imageview #image").height()/2)
|
marginTop: -1*($("#imageview #image").height()/2)
|
||||||
|
Loading…
Reference in New Issue
Block a user