Make full screen mode in Potlatch work properly again
This commit is contained in:
parent
c2c2535b73
commit
5e7b7a420a
2 changed files with 5 additions and 4 deletions
|
@ -5,9 +5,9 @@ function maximiseMap() {
|
|||
|
||||
$("#content").css("top", "0px");
|
||||
if ($("html").attr("dir") == "ltr") {
|
||||
$("#content").css("left", "0px");
|
||||
$("#content").css("margin-left", "0px");
|
||||
} else {
|
||||
$("#content").css("right", "0px");
|
||||
$("#content").css("margin-right", "0px");
|
||||
}
|
||||
|
||||
handleResize();
|
||||
|
@ -20,9 +20,9 @@ function minimiseMap() {
|
|||
|
||||
$("#content").css("top", "30px");
|
||||
if ($("html").attr("dir") == "ltr") {
|
||||
$("#content").css("left", "185px");
|
||||
$("#content").css("margin-left", "185px");
|
||||
} else {
|
||||
$("#content").css("right", "185px");
|
||||
$("#content").css("margin-right", "185px");
|
||||
}
|
||||
|
||||
handleResize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue