diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-16 20:07:38 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-16 20:07:38 +0100 |
commit | 08906e5f2779974bc98b03d594a371191ba89cc4 (patch) | |
tree | bf8f68252d44211155dd1bf7257a26ada6ae8a8d /ishtar_common/static/js | |
parent | a20c22be446522ab151c37ea8141fcc6db4ff418 (diff) | |
download | Ishtar-08906e5f2779974bc98b03d594a371191ba89cc4.tar.bz2 Ishtar-08906e5f2779974bc98b03d594a371191ba89cc4.zip |
UI: improve sheets
Diffstat (limited to 'ishtar_common/static/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){ |