Fix more validation errors.
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 1 Aug 2006 00:00:19 +0000 (02:00 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 1 Aug 2006 00:00:19 +0000 (02:00 +0200)
templates/default/fullscreen-footer

index 638c7b96bd63644bb09d8f2804812349c97b4b9f..dab8f02c5a3d44bf412524aa55baa05ce5a54ee8 100644 (file)
@@ -10,7 +10,7 @@ var global_select = %SEL%;
     </script>
     <script type="text/JavaScript" src="/pr0n-fullscreen.js"></script>
   </head>
-  <body onresize="relayout();" onload="init_ajax(); relayout();" onkeydown="key_down(event.which);" onkeyup="key_up(event.which);">
+  <body onload="init_ajax(); relayout(); window.onresize = relayout;" onkeydown="key_down(event.which);" onkeyup="key_up(event.which);">
     <div class="container" id="main"></div>
     <img id="previous" src="/previous.png" alt="&lt;-" onmousedown="if (can_go_previous()) set_opacity('previous', 1.0)" onmouseup="if (can_go_previous()) { set_opacity('previous', 0.7); go_previous(); }" onmouseout="if (can_go_previous()) { set_opacity('previous', 0.7); }" />
     <img id="next" src="/next.png" alt="-&gt;" onmousedown="if (can_go_next()) set_opacity('next', 1.0)" onmouseup="if (can_go_next()) { set_opacity('next', 0.7); go_next(); }" onmouseout="if (can_go_next()) { set_opacity('next', 0.7); }" />