remove fullscreen settings from DB, we cant use it anyway - browsers cannot load a page in fs mode
This commit is contained in:
@@ -82,8 +82,6 @@
|
|||||||
data+="&root={{OPT.root}}"
|
data+="&root={{OPT.root}}"
|
||||||
data+="&orig_url={{OPT.orig_url}}"
|
data+="&orig_url={{OPT.orig_url}}"
|
||||||
data+="&view_eid={{OPT.view_eid}}"
|
data+="&view_eid={{OPT.view_eid}}"
|
||||||
// just to save this in pa_user_state
|
|
||||||
data+="&fullscreen="+fullscreen
|
|
||||||
// direction (next/prev)
|
// direction (next/prev)
|
||||||
data+="&"+dir+ "=1"
|
data+="&"+dir+ "=1"
|
||||||
{% if search_term is defined %}
|
{% if search_term is defined %}
|
||||||
@@ -117,8 +115,6 @@
|
|||||||
disabled
|
disabled
|
||||||
{% endif %}
|
{% endif %}
|
||||||
onClick="
|
onClick="
|
||||||
if( document.fullscreen == false )
|
|
||||||
fullscreen = false
|
|
||||||
cidx = eid_lst.indexOf(current.toString())
|
cidx = eid_lst.indexOf(current.toString())
|
||||||
prev=cidx-1
|
prev=cidx-1
|
||||||
if( prev < 0 )
|
if( prev < 0 )
|
||||||
@@ -179,8 +175,6 @@
|
|||||||
disabled
|
disabled
|
||||||
{% endif %}
|
{% endif %}
|
||||||
onClick="
|
onClick="
|
||||||
if( document.fullscreen == false )
|
|
||||||
fullscreen = false
|
|
||||||
cidx = eid_lst.indexOf(current.toString())
|
cidx = eid_lst.indexOf(current.toString())
|
||||||
if( cidx < eid_lst.length-1 )
|
if( cidx < eid_lst.length-1 )
|
||||||
{
|
{
|
||||||
@@ -289,9 +283,5 @@ $( document ).keydown(function(event) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var fullscreen=false;
|
var fullscreen=false;
|
||||||
{% if OPT.fullscreen=='true' %}
|
|
||||||
fullscreen=true;
|
|
||||||
ViewImageOrVideo()
|
|
||||||
{% endif %}
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock script_content %}
|
{% endblock script_content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user