From 654f63b8948d1d83e1b1ef15cd1bf7fd7b0101e2 Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 15 Feb 2018 16:48:37 +0300 Subject: [PATCH] remove unused code see #348 --- content/install-hook-usercss.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/content/install-hook-usercss.js b/content/install-hook-usercss.js index 605385d7..4a4d8f9d 100644 --- a/content/install-hook-usercss.js +++ b/content/install-hook-usercss.js @@ -49,14 +49,6 @@ case 'liveReloadStop': stop(); break; - - case 'closeTab': - if (history.length > 1) { - history.back(); - } else { - chrome.runtime.sendMessage({method: 'closeTab'}); - } - break; } }