disabled console hijacking...for now

This commit is contained in:
remy 2011-04-06 15:38:45 +01:00
parent 2d1b7722cb
commit cd1d415491

View File

@ -19,12 +19,12 @@ $live.bind('show', function () {
// start timer
$(document).bind('codeChange.live', throttledPreview);
renderLivePreview();
hijackedConsole.activate();
//hijackedConsole.activate();
}).bind('hide', function () {
$(document).unbind('codeChange.live');
localStorage && localStorage.removeItem('livepreview');
$body.removeClass('live');
hijackedConsole.deactivate();
//hijackedConsole.deactivate();
}).bind('toggle', function () {
$live.trigger($body.is('.live') ? 'hide' : 'show');
});
@ -68,4 +68,4 @@ function renderLivePreview() {
$live.find('.close').click(function () {
$live.trigger('hide');
});
});