changed gritter settings

This commit is contained in:
Konrad Mohrfeldt 2011-10-16 20:40:22 +02:00
parent 265d286dcf
commit ec39438057
1 changed files with 4 additions and 8 deletions

View File

@ -16,10 +16,10 @@ jQuery(document).ready(function($) {
}; };
$.extend($.gritter.options, { $.extend($.gritter.options, {
position: "top-right", position: "bottom-right",
fade_in_speed: 100, fade_in_speed: 250,
fade_out_speed: 100, fade_out_speed: 500,
time: 3000 time: 4000
}); });
$("a.buy").click(function(evt) { $("a.buy").click(function(evt) {
@ -45,12 +45,8 @@ jQuery(document).ready(function($) {
dataContainer.children().removeClass("locked"); dataContainer.children().removeClass("locked");
}); });
}); });
$.getJSON("/api2/buyable/item", function(data) { $.getJSON("/api2/buyable/item", function(data) {
if(data.error === undefined) { if(data.error === undefined) {
source = []; source = [];