1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

Shorten the duration of the Aphlict log notifications.

Summary: Currently, the Aphlict log notifications show for the same duration as normal Aphlict notifications (12 seconds). I find this to be far to long and usually find myself clicking all of the log notifications that I am not interested in.

Test Plan: Loaded a page and saw the debug notifications dismiss after roughly three seconds.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9409
This commit is contained in:
Joshua Spence 2014-06-07 12:07:39 -07:00 committed by epriestley
parent b6bc8b8c0f
commit 858d1e699f

View file

@ -55,6 +55,7 @@ JX.behavior('aphlict-listen', function(config) {
new JX.Notification()
.setContent('(Aphlict) [' + type + '] ' + details)
.alterClassName('jx-notification-debug', true)
.setDuration(3000)
.show();
}
}