Fix spreadsheet creation

pull/1/head
yflory 4 years ago
parent 385edd6cf4
commit a10425299e

@ -198,7 +198,7 @@ define([
$fastNext = $(fastNext).hide();
$next = $(_next).hide();
var pos = h('span.cp-history-timeline-pos');
var pos = h('span.cp-history-timeline-pos.fa.fa-caret-down');
var time = h('div.cp-history-timeline-time');
var version = h('div.cp-history-timeline-version');
$time = $(time);

@ -30,11 +30,13 @@ define([
}
var parsed = Hash.parsePadUrl(href);
if (parsed && parsed.hashData) {
var opts = parsed.getOptions();
version = opts.versionHash;
opts.versionHash = "";
href = parsed.getUrl(opts);
hash = parsed.hashData.getHash(opts);
}
document.getElementById('sbox-iframe').setAttribute('src',
ApiConfig.httpSafeOrigin + window.location.pathname + 'inner.html?' +

Loading…
Cancel
Save