diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-08-04 11:05:58 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-08-04 11:05:58 +0200 |
commit | 44cfef0927614f3bc48ab3376791aecd31fc90d9 (patch) | |
tree | 63e3b6eb9520a892061ec100f764858b86eaeb8b /program/js | |
parent | 65baa033e067483d5bcd57294aafab413b4cda2c (diff) |
Modify is_framed() so it returns boolean value
Diffstat (limited to 'program/js')
-rw-r--r-- | 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 490234b4a..ca65176d9 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1451,7 +1451,7 @@ function rcube_webmail() 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) |