Skip to content

Commit

Permalink
fade-in easy remix dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolness committed Jun 8, 2011
1 parent 7bab09f commit ede4e92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static-files/easy-remix-dialog/index.html
Expand Up @@ -267,6 +267,8 @@ <h2>Preview</h2>
}

$(window).ready(function() {
$(document.body).hide();

var isInIframe = !(top === self);
var responseSent = false;
var isStarted = false;
Expand All @@ -276,6 +278,8 @@ <h2>Preview</h2>
return;
isStarted = true;

$(document.body).show();

$("#header h1").text(data.title);

var previewDoc = $("#preview").contents();
Expand Down Expand Up @@ -401,6 +405,8 @@ <h2>Preview</h2>
e.dataTransfer.setData('text/html', html);
}
});

$(document.body).hide().fadeIn();
}

if (isInIframe) {
Expand Down

0 comments on commit ede4e92

Please sign in to comment.