Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Embed: Better place to end execution of local.js
  • Loading branch information
linc committed Nov 13, 2011
1 parent 75ccf6c commit e3146b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/embedvanilla/local.js
Expand Up @@ -132,6 +132,7 @@ $(function() {

$(window).unload(function() { remotePostMessage('unload', '*'); });
}
else return; // Ignore the rest if we're not embedded.

var path = gdn.definition('Path', '~');
if (path != '~') {
Expand Down

0 comments on commit e3146b3

Please sign in to comment.