mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
disabled console hijacking...for now
This commit is contained in:
parent
2d1b7722cb
commit
cd1d415491
@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user