diff options
Diffstat (limited to 'ishtar_common/static/js/ishtar.js')
-rw-r--r-- | ishtar_common/static/js/ishtar.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index f09117d11..dfe59105c 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -201,9 +201,6 @@ $(document).ready(function(){ $('#language-form').submit(); }); load_shortcut_menu(); - if ($.isFunction($(".prettyPhoto a").prettyPhoto)){ - $(".prettyPhoto a").prettyPhoto({'social_tools':''}); - } $('#current_items select').change(function(){ $(this).attr('class', $(this).children("option:selected").attr('class')); }); @@ -273,9 +270,10 @@ function load_window(url, speed, on_success){ cache: false, success:function(html){ $("#progress").hide(); + $(".previous_page").remove(); + $(".next_page").remove(); $("#window").append(html); $("#"+last_window).show(); - $("a[rel^='prettyPhoto']").prettyPhoto({'social_tools':''}); if (on_success) on_success(); }, error:function(XMLHttpRequest, textStatus, errorThrows){ |