From e560638574ebb911438abe887a46305e9d72a29a Mon Sep 17 00:00:00 2001 From: Robert Bosse Date: Mon, 15 Oct 2012 16:28:45 -0400 Subject: [PATCH] API Doc: Example1 Bug Fix Changed reference to top window --- resources/hashtag/example1.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/hashtag/example1.html b/resources/hashtag/example1.html index 7fe0d4d0..79099671 100644 --- a/resources/hashtag/example1.html +++ b/resources/hashtag/example1.html @@ -71,7 +71,7 @@ // To change src attribute of parent iframe element $('.hashExLink').on('click', function() { - window.top.document.getElementById('hashtagIframe').location.href='/resources/hashtag/example1.html' + $(this).href; + window.parent.document.getElementById('hashtagIframe').location.href='/resources/hashtag/example1.html' + $(this).href; }); });