rm pig disgusting substring
This commit is contained in:
parent
0bd0f50e88
commit
c52b71742f
@ -2175,7 +2175,7 @@
|
||||
},
|
||||
x: function() {
|
||||
var board, id, _, _ref;
|
||||
_ref = this.nextElementSibling.getAttribute('href').substring(1).split('/'), board = _ref[0], _ = _ref[1], id = _ref[2];
|
||||
_ref = this.nextElementSibling.getAttribute('href').slice(1).split('/'), board = _ref[0], _ = _ref[1], id = _ref[2];
|
||||
return watcher.unwatch(board, id);
|
||||
}
|
||||
},
|
||||
@ -3040,7 +3040,7 @@
|
||||
Main = {
|
||||
init: function() {
|
||||
var cutoff, hiddenThreads, id, now, pathname, temp, timestamp, update, _ref;
|
||||
pathname = location.pathname.substring(1).split('/');
|
||||
pathname = location.pathname.slice(1).split('/');
|
||||
g.BOARD = pathname[0], temp = pathname[1];
|
||||
if (temp === 'res') {
|
||||
g.REPLY = temp;
|
||||
|
||||
@ -1746,7 +1746,7 @@ watcher =
|
||||
watcher.toggle @parentNode
|
||||
x: ->
|
||||
[board, _, id] = @nextElementSibling
|
||||
.getAttribute('href').substring(1).split('/')
|
||||
.getAttribute('href')[1..].split('/')
|
||||
watcher.unwatch board, id
|
||||
|
||||
toggle: (thread) ->
|
||||
@ -2355,7 +2355,7 @@ imgExpand =
|
||||
|
||||
Main =
|
||||
init: ->
|
||||
pathname = location.pathname.substring(1).split('/')
|
||||
pathname = location.pathname[1..].split('/')
|
||||
[g.BOARD, temp] = pathname
|
||||
if temp is 'res'
|
||||
g.REPLY = temp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user