less indentation
This commit is contained in:
parent
240a6d9045
commit
d60143a128
@ -1475,7 +1475,9 @@
|
|||||||
return parent.postMessage(data, '*');
|
return parent.postMessage(data, '*');
|
||||||
});
|
});
|
||||||
c = $('b').lastChild;
|
c = $('b').lastChild;
|
||||||
if (c.nodeType === 8) {
|
if (c.nodeType !== 8) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
_ref = c.textContent.match(/thread:(\d+),no:(\d+)/), _ = _ref[0], thread = _ref[1], id = _ref[2];
|
_ref = c.textContent.match(/thread:(\d+),no:(\d+)/), _ = _ref[0], thread = _ref[1], id = _ref[2];
|
||||||
search = location.search;
|
search = location.search;
|
||||||
cooldown = /cooldown/.test(search);
|
cooldown = /cooldown/.test(search);
|
||||||
@ -1497,7 +1499,6 @@
|
|||||||
url += '#' + id;
|
url += '#' + id;
|
||||||
}
|
}
|
||||||
return window.location = url;
|
return window.location = url;
|
||||||
}
|
|
||||||
},
|
},
|
||||||
validateFileSize: function(e) {
|
validateFileSize: function(e) {
|
||||||
var file;
|
var file;
|
||||||
|
|||||||
@ -1204,7 +1204,9 @@ qr =
|
|||||||
parent.postMessage data, '*'
|
parent.postMessage data, '*'
|
||||||
|
|
||||||
c = $('b').lastChild
|
c = $('b').lastChild
|
||||||
if c.nodeType is 8 #comment node
|
|
||||||
|
return unless c.nodeType is 8 #comment node
|
||||||
|
|
||||||
[_, thread, id] = c.textContent.match(/thread:(\d+),no:(\d+)/)
|
[_, thread, id] = c.textContent.match(/thread:(\d+),no:(\d+)/)
|
||||||
|
|
||||||
{search} = location
|
{search} = location
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user