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; }); });