less indentation
This commit is contained in:
parent
240a6d9045
commit
d60143a128
@ -1475,7 +1475,9 @@
|
||||
return parent.postMessage(data, '*');
|
||||
});
|
||||
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];
|
||||
search = location.search;
|
||||
cooldown = /cooldown/.test(search);
|
||||
@ -1497,7 +1499,6 @@
|
||||
url += '#' + id;
|
||||
}
|
||||
return window.location = url;
|
||||
}
|
||||
},
|
||||
validateFileSize: function(e) {
|
||||
var file;
|
||||
|
||||
@ -1204,7 +1204,9 @@ qr =
|
||||
parent.postMessage data, '*'
|
||||
|
||||
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+)/)
|
||||
|
||||
{search} = location
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user