Fix thumbnail server assignment

This commit is contained in:
Zixaphir 2014-09-07 16:02:07 -07:00
parent f7061abe83
commit d564bc2b78
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/* /*
* appchan x - Version 2.9.35 - 2014-08-24 * appchan x - Version 2.9.35 - 2014-09-07
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -28,7 +28,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* appchan x - Version 2.9.35 - 2014-08-24 * appchan x - Version 2.9.35 - 2014-09-07
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -5786,7 +5786,7 @@
var n; var n;
n = 0; n = 0;
return function() { return function() {
return n = (n + 1) % 3; return n = (n + 1) % 2;
}; };
})(), })(),
path: function(boardID, threadID, postID, fragment) { path: function(boardID, threadID, postID, fragment) {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // Generated by CoffeeScript
/* /*
* appchan x - Version 2.9.35 - 2014-08-24 * appchan x - Version 2.9.35 - 2014-09-07
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -5837,7 +5837,7 @@
var n; var n;
n = 0; n = 0;
return function() { return function() {
return n = (n + 1) % 3; return n = (n + 1) % 2;
}; };
})(), })(),
path: function(boardID, threadID, postID, fragment) { path: function(boardID, threadID, postID, fragment) {

View File

@ -14,7 +14,7 @@ Build =
filename filename
thumbRotate: do -> thumbRotate: do ->
n = 0 n = 0
-> n = (n + 1) % 3 -> n = (n + 1) % 2
path: (boardID, threadID, postID, fragment) -> path: (boardID, threadID, postID, fragment) ->
path = "/#{boardID}/thread/#{threadID}" path = "/#{boardID}/thread/#{threadID}"
path += "/#{g.SLUG}" if g.SLUG? and threadID is g.THREADID path += "/#{g.SLUG}" if g.SLUG? and threadID is g.THREADID