From f10073fb5a9ba4be4bab7b3def4e542b453a7c29 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 1 Jul 2013 18:54:33 +0200 Subject: [PATCH] add moderation window cleanup when logout --- web/commons.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/commons.js b/web/commons.js index 4c0ea73..bc39719 100644 --- a/web/commons.js +++ b/web/commons.js @@ -648,6 +648,11 @@ function act_shutdown() function postact_logout() { // alert("postact_logout"); + + if (g_moder.is_enabled()) { + g_moder.disable(); + } + try { hstm.abort(); } catch (e) {} -- 2.17.1