Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(scenarioRunner): navigateTo should use prop('contentWindow')
Browse files Browse the repository at this point in the history
... instead of attr('contentWindow')
  • Loading branch information
IgorMinar committed Sep 16, 2011
1 parent 6883e8c commit 9acf451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenario/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9acf451

Please sign in to comment.