aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario/Application.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenario/Application.js')
-rw-r--r--src/scenario/Application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenario/Application.js b/src/scenario/Application.js
index 24f5a8c4..1a87141f 100644
--- a/src/scenario/Application.js
+++ b/src/scenario/Application.js
@@ -33,7 +33,7 @@ angular.scenario.Application.prototype.getFrame_ = function() {
* @return {Object} the window of the frame
*/
angular.scenario.Application.prototype.getWindow_ = function() {
- var contentWindow = this.getFrame_().attr('contentWindow');
+ var contentWindow = this.getFrame_().prop('contentWindow');
if (!contentWindow)
throw 'Frame window is not accessible.';
return contentWindow;