Normal report size box if pass is logged in

This commit is contained in:
aCarbon 2015-04-16 19:08:44 +01:00
parent 34a9dcb609
commit e3aca1835a

View File

@ -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