summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/night_wind/views/photo.html.php2
-rw-r--r--themes/wind/views/photo.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/night_wind/views/photo.html.php b/themes/night_wind/views/photo.html.php
index b33e2afa..e1231f65 100644
--- a/themes/night_wind/views/photo.html.php
+++ b/themes/night_wind/views/photo.html.php
@@ -2,7 +2,7 @@
<? if (access::can("view_full", $theme->item())): ?>
<!-- Use javascript to show the full size as an overlay on the current page -->
-<script>
+<script type="text/javascript">
$(document).ready(function() {
$(".g-fullsize-link").click(function() {
$.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");
diff --git a/themes/wind/views/photo.html.php b/themes/wind/views/photo.html.php
index b33e2afa..e1231f65 100644
--- a/themes/wind/views/photo.html.php
+++ b/themes/wind/views/photo.html.php
@@ -2,7 +2,7 @@
<? if (access::can("view_full", $theme->item())): ?>
<!-- Use javascript to show the full size as an overlay on the current page -->
-<script>
+<script type="text/javascript">
$(document).ready(function() {
$(".g-fullsize-link").click(function() {
$.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");