From 44cfef0927614f3bc48ab3376791aecd31fc90d9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 04 Aug 2014 05:05:58 -0400 Subject: [PATCH] Modify is_framed() so it returns boolean value --- program/js/app.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 490234b..ca65176 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1451,7 +1451,7 @@ this.is_framed = function() { - return (this.env.framed && parent.rcmail && parent.rcmail != this && parent.rcmail.command); + return this.env.framed && parent.rcmail && parent.rcmail != this && typeof parent.rcmail.command == 'function'; }; this.save_pref = function(prop) -- Gitblit v1.9.1