Better positioning of ban window
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -34,5 +34,10 @@ function openBanWindow(banUrl) {
|
|||||||
fitWindowToContent(banWindow);
|
fitWindowToContent(banWindow);
|
||||||
banWindow.setResizable(false);
|
banWindow.setResizable(false);
|
||||||
});
|
});
|
||||||
|
banWindow.setPosition(
|
||||||
|
window.innerWidth,
|
||||||
|
window.innerHeight / 2,
|
||||||
|
"RIGHT_CENTER"
|
||||||
|
);
|
||||||
banWindow.show();
|
banWindow.show();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
{{block.super}}
|
{{block.super}}
|
||||||
<script src="{% static 'board/jquery.js' %}"></script>
|
<script src="{% static 'board/jquery.js' %}"></script>
|
||||||
<script src="{% static 'board/jsframe.min.js' %}"></script>
|
<script src="{% static 'board/jsframe.min.js' %}"></script>
|
||||||
|
<script src="{% static 'board/post.js' %}"></script>
|
||||||
<script src="{% static 'board/ban.js' %}"></script>
|
<script src="{% static 'board/ban.js' %}"></script>
|
||||||
{% endblock extrahead %}
|
{% endblock extrahead %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user