From 7bda452e480d1c055a49487f461e8b76bd175179 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 4 Jan 2019 18:17:02 +0100 Subject: [PATCH] notifications: rm debug keyboard shortcut and increase timeout --- src/client/app/ui/notifications.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/client/app/ui/notifications.js b/src/client/app/ui/notifications.js index ac165ab8..7a9e73ee 100644 --- a/src/client/app/ui/notifications.js +++ b/src/client/app/ui/notifications.js @@ -1,7 +1,6 @@ -var html = require('nanohtml'), - keyboardJS = require('keyboardjs') +var html = require('nanohtml') -var DURATION = 3000 +var DURATION = 3500 class Notifications { @@ -12,13 +11,6 @@ class Notifications { this.loop = null - keyboardJS.bind('k', ()=>{ - this.add({ - message: 'bla bla bla bla' - }) - }) - - } add(data) {