forked from 0x2620/pandora
don't throw when loading new (no ui settings) edit with span
This commit is contained in:
parent
c3fd2a31b5
commit
3233f3f695
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ pandora.URL = (function() {
|
||||||
|
|
||||||
if (state.span) {
|
if (state.span) {
|
||||||
var key = 'edits.' + state.item.replace(/\./g, '\\.');
|
var key = 'edits.' + state.item.replace(/\./g, '\\.');
|
||||||
|
set[key] = {};
|
||||||
if (Ox.isArray(state.span)) {
|
if (Ox.isArray(state.span)) {
|
||||||
set[key + '.clip'] = '';
|
set[key + '.clip'] = '';
|
||||||
set[key + '.in'] = state.span[state.span.length - 2] || 0;
|
set[key + '.in'] = state.span[state.span.length - 2] || 0;
|
||||||
|
|
Loading…
Reference in a new issue