remove fullscreen settings from DB, we cant use it anyway - browsers cannot load a page in fs mode

This commit is contained in:
2022-01-30 23:01:59 +11:00
parent 272ce5e010
commit 075fa2b6f4

View File

@@ -82,8 +82,6 @@
data+="&root={{OPT.root}}"
data+="&orig_url={{OPT.orig_url}}"
data+="&view_eid={{OPT.view_eid}}"
// just to save this in pa_user_state
data+="&fullscreen="+fullscreen
// direction (next/prev)
data+="&"+dir+ "=1"
{% if search_term is defined %}
@@ -117,8 +115,6 @@
disabled
{% endif %}
onClick="
if( document.fullscreen == false )
fullscreen = false
cidx = eid_lst.indexOf(current.toString())
prev=cidx-1
if( prev < 0 )
@@ -179,8 +175,6 @@
disabled
{% endif %}
onClick="
if( document.fullscreen == false )
fullscreen = false
cidx = eid_lst.indexOf(current.toString())
if( cidx < eid_lst.length-1 )
{
@@ -289,9 +283,5 @@ $( document ).keydown(function(event) {
});
var fullscreen=false;
{% if OPT.fullscreen=='true' %}
fullscreen=true;
ViewImageOrVideo()
{% endif %}
</script>
{% endblock script_content %}