From e3aca1835addab99b32ab4bf980d35532c839da6 Mon Sep 17 00:00:00 2001 From: aCarbon Date: Thu, 16 Apr 2015 19:08:44 +0100 Subject: [PATCH] Normal report size box if pass is logged in --- src/Menu/ReportLink.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Menu/ReportLink.coffee b/src/Menu/ReportLink.coffee index 67eb85caa..5959073cd 100755 --- a/src/Menu/ReportLink.coffee +++ b/src/Menu/ReportLink.coffee @@ -20,5 +20,6 @@ ReportLink = report: -> {url} = ReportLink id = Date.now() - set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=675" + height = if d.cookie.indexOf('pass_enabled=1') >= 0 then 285 else 675 + set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=" + height window.open url, id, set