make zoom work standalone
git-svn-id: file:///home/shish/svn/shimmie2/trunk@240 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
69ca13fa50
commit
9298649c30
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class ZoomTheme extends Themelet {
|
|||
$default = $zoom_by_default ? "scale(img);" : "";
|
||||
return <<<EOD
|
||||
<script type="text/javascript">
|
||||
img = byId("main_image");
|
||||
img = document.getElementById("main_image");
|
||||
|
||||
img.onclick = function() {scale(img);};
|
||||
|
||||
|
|
Reference in a new issue