summaryrefslogtreecommitdiff
path: root/ishtar_common/static/js/ishtar.js
diff options
context:
space:
mode:
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
commit1e71763dc8583af4d67d18a410434b945c3229b2 (patch)
treebf8f68252d44211155dd1bf7257a26ada6ae8a8d /ishtar_common/static/js/ishtar.js
parente2d6f4cf7647b22ab2d8c8798f9339760e178533 (diff)
downloadIshtar-1e71763dc8583af4d67d18a410434b945c3229b2.tar.bz2
Ishtar-1e71763dc8583af4d67d18a410434b945c3229b2.zip
UI: improve sheets
Diffstat (limited to 'ishtar_common/static/js/ishtar.js')
-rw-r--r--ishtar_common/static/js/ishtar.js6
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){