Skip to content

Commit

Permalink
Revert change that broke embed's force redirect: "Added return for em…
Browse files Browse the repository at this point in the history
…bed's local.js when it isn't in an iFrame."

This reverts commit 4720d55.
  • Loading branch information
linc committed Nov 13, 2011
1 parent 6ad4959 commit 75ccf6c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/embedvanilla/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ $(function() {
forceRemoteUrl = gdn.definition('ForceRemoteUrl', '') != '',
webroot = gdn.definition('WebRoot'),
pathroot = gdn.definition('UrlFormat').replace('/{Path}', '').replace('{Path}', '');

if (!inIframe)
return;

if (inIframe) {
if ("postMessage" in parent) {
Expand Down

0 comments on commit 75ccf6c

Please sign in to comment.