Skip to content

Commit e560638

Browse files
committed
API Doc: Example1 Bug Fix
Changed reference to top window
1 parent 2e9f07b commit e560638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/hashtag/example1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
// To change src attribute of parent iframe element
7373
$('.hashExLink').on('click', function() {
74-
window.top.document.getElementById('hashtagIframe').location.href='/resources/hashtag/example1.html' + $(this).href;
74+
window.parent.document.getElementById('hashtagIframe').location.href='/resources/hashtag/example1.html' + $(this).href;
7575
});
7676
});
7777
</script>

0 commit comments

Comments
 (0)