diff --git a/templates/viewer.html b/templates/viewer.html
index 3921dcd..58c7add 100644
--- a/templates/viewer.html
+++ b/templates/viewer.html
@@ -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 %}
{% endblock script_content %}