Eliminate interpolation in edit JS
This commit is contained in:
parent
3fcdd9c397
commit
0ec2843b0f
1 changed files with 10 additions and 10 deletions
|
@ -22,11 +22,11 @@
|
|||
$("#tabnav").hide();
|
||||
|
||||
$("#content").css("top", "0px");
|
||||
<% if t('html.dir') == "ltr" -%>
|
||||
$("#content").css("left", "0px");
|
||||
<% else -%>
|
||||
$("#content").css("right", "0px");
|
||||
<% end -%>
|
||||
if ($("html").attr("dir") == "ltr") {
|
||||
$("#content").css("left", "0px");
|
||||
} else {
|
||||
$("#content").css("right", "0px");
|
||||
}
|
||||
|
||||
handleResize();
|
||||
}
|
||||
|
@ -37,11 +37,11 @@
|
|||
$("#tabnav").show();
|
||||
|
||||
$("#content").css("top", "30px");
|
||||
<% if t('html.dir') == "ltr" -%>
|
||||
$("#content").css("left", "185px");
|
||||
<% else -%>
|
||||
$("#content").css("right", "185px");
|
||||
<% end -%>
|
||||
if ($("html").attr("dir") == "ltr") {
|
||||
$("#content").css("left", "185px");
|
||||
} else {
|
||||
$("#content").css("right", "185px");
|
||||
}
|
||||
|
||||
handleResize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue