mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +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(){
|
show: function(){
|
||||||
let $alert = this.$el.find(".alert");
|
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(){
|
hide: function(){
|
||||||
|
@ -7,6 +7,10 @@ Config.Server = {
|
|||||||
secure: false
|
secure: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Config.Gwent = {
|
||||||
|
notification_duration: 4000
|
||||||
|
}
|
||||||
|
|
||||||
Config.Site = {
|
Config.Site = {
|
||||||
base: "/gwent-online/site/public"
|
base: "/gwent-online/site/public"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user