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:
parent
7f0d7f9db8
commit
214ee521f0
@ -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(){
|
||||
|
@ -7,6 +7,10 @@ Config.Server = {
|
||||
secure: false
|
||||
}
|
||||
|
||||
Config.Gwent = {
|
||||
notification_duration: 4000
|
||||
}
|
||||
|
||||
Config.Site = {
|
||||
base: "/gwent-online/site/public"
|
||||
}
|
Loading…
Reference in New Issue
Block a user