From 858d1e699fc1a16e276d2c8db173bdd53fd22931 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Sat, 7 Jun 2014 12:07:39 -0700 Subject: [PATCH] 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 --- webroot/rsrc/js/application/aphlict/behavior-aphlict-listen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webroot/rsrc/js/application/aphlict/behavior-aphlict-listen.js b/webroot/rsrc/js/application/aphlict/behavior-aphlict-listen.js index 2c974d3027..284534b262 100644 --- a/webroot/rsrc/js/application/aphlict/behavior-aphlict-listen.js +++ b/webroot/rsrc/js/application/aphlict/behavior-aphlict-listen.js @@ -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(); } }