1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-23 21:03:14 +00:00

modify notification duration

This commit is contained in:
exane 2015-07-01 09:17:29 +02:00
parent 7f0d7f9db8
commit 214ee521f0
2 changed files with 5 additions and 1 deletions

View File

@ -916,7 +916,7 @@ let Notification = Backbone.View.extend({
},
show: function(){
let $alert = this.$el.find(".alert");
$alert.slideDown(600).delay(2000).queue(this.hide.bind(this));
$alert.slideDown(600).delay(Config.Gwent.notification_duration).queue(this.hide.bind(this));
},
hide: function(){

View File

@ -7,6 +7,10 @@ Config.Server = {
secure: false
}
Config.Gwent = {
notification_duration: 4000
}
Config.Site = {
base: "/gwent-online/site/public"
}