Permalink
Browse files

error in templat

  • Loading branch information...
1 parent d599955 commit 53032e3be8b0395072fb53928d3f6e38b68b2f80 @fivethreeo committed Sep 14, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 cmsplugin_filer_gallery/templates/cmsplugin_filer_gallery/gallery.html
@@ -6,9 +6,11 @@
{% addtoblock "js" %}
<script type="text/javascript">
//<![CDATA[
-jQuery(document).ready(function ($) {
- $('#filer-gallery-{{ instance.pk }}').orbit();
-});
+(function ($) {
+ $(document).ready(function () {
+ $('#filer-gallery-{{ instance.pk }}').orbit();
+ });
+})()
//]]>
</script>
{% endaddtoblock %}

0 comments on commit 53032e3

Please sign in to comment.