Skip to content

Commit

Permalink
Revert "Get embed vanilla local.js to launch signins in a different p…
Browse files Browse the repository at this point in the history
…opup."

This reverts commit 7b0bf7b.
  • Loading branch information
linc committed Sep 15, 2011
1 parent 7b0bf7b commit bba148b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/embedvanilla/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ $(function() {
return;

if (inIframe) {
$('.SignInPopup').addClass('PopupWindow').removeClass('.SignInPopup');

if ("postMessage" in parent) {
remotePostMessage = function(message, target) {
return parent.postMessage(message, target);
Expand Down Expand Up @@ -144,11 +142,7 @@ $(function() {
path = '/'+path;
remotePostMessage('location:' + path, '*');
} else {

$('a').live('click', function() {
if ($(this).hasClass('PopupWindow'))
return;

var href = $(this).attr('href'),
isHttp = href.substr(0, 7) == 'http://' || href.substr(0,8) == 'https://';

Expand Down

0 comments on commit bba148b

Please sign in to comment.