diff options
-rw-r--r-- | lib/gallery.show_full_size.js (renamed from themes/default/js/fullsize.js) | 0 | ||||
-rw-r--r-- | themes/default/views/photo.html.php | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/js/fullsize.js b/lib/gallery.show_full_size.js index b2895c23..b2895c23 100644 --- a/themes/default/js/fullsize.js +++ b/lib/gallery.show_full_size.js diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index ddea75bc..1c3b81a7 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,7 +1,8 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <? if (access::can("view_full", $theme->item())): ?> -<script src="<?= url::file("themes/default/js/fullsize.js") ?>" type="text/javascript"></script> +<!-- Use javascript to show the full size as an overlay on the current page --> +<script src="<?= url::file("lib/gallery.show_full_size.js") ?>" type="text/javascript"></script> <script> $(document).ready(function() { $(".gFullSizeLink").click(function() { |