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