mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Fixed preview broken in node app
This commit is contained in:
parent
c1146e3bd6
commit
81beb795ee
@ -5,6 +5,9 @@ $(function () {
|
||||
|
||||
if ($('#history').length) (function () {
|
||||
function render(url) {
|
||||
if (url.lastIndexOf('/') !== url.length - 1) {
|
||||
url += '/';
|
||||
}
|
||||
iframe.src = url + 'quiet';
|
||||
iframe.removeAttribute('hidden');
|
||||
viewing.innerHTML = url;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user