Disable Quote Threading by default
This commit is contained in:
parent
a41b03ec2a
commit
abb3b0e5b4
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* appchan x - Version 2.2.0 - 2013-07-26
|
||||
* appchan x - Version 2.2.0 - 2013-07-27
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* appchan x - Version 2.2.0 - 2013-07-26
|
||||
* appchan x - Version 2.2.0 - 2013-07-27
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -220,7 +220,7 @@
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [true, 'Thread conversations']
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
}
|
||||
},
|
||||
imageExpansion: {
|
||||
@ -8354,7 +8354,7 @@
|
||||
post: post,
|
||||
isReply: isReply
|
||||
});
|
||||
URL = threadID === postID ? "/" + g.BOARD + "/res/" + threadID : g.VIEW === 'index' && !QR.cooldown.auto && Conf['Open Post in New Tab'] ? "/" + g.BOARD + "/res/" + threadID + "#p" + postID : void 0;
|
||||
URL = !isReply ? "/" + g.BOARD + "/res/" + threadID : g.VIEW === 'index' && !QR.cooldown.auto && Conf['Open Post in New Tab'] ? "/" + g.BOARD + "/res/" + threadID + "#p" + postID : void 0;
|
||||
if (URL) {
|
||||
if (Conf['Open Post in New Tab']) {
|
||||
$.open(URL);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* appchan x - Version 2.2.0 - 2013-07-26
|
||||
* appchan x - Version 2.2.0 - 2013-07-27
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -201,7 +201,7 @@
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [true, 'Thread conversations']
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
}
|
||||
},
|
||||
imageExpansion: {
|
||||
@ -8331,7 +8331,7 @@
|
||||
post: post,
|
||||
isReply: isReply
|
||||
});
|
||||
URL = threadID === postID ? "/" + g.BOARD + "/res/" + threadID : g.VIEW === 'index' && !QR.cooldown.auto && Conf['Open Post in New Tab'] ? "/" + g.BOARD + "/res/" + threadID + "#p" + postID : void 0;
|
||||
URL = !isReply ? "/" + g.BOARD + "/res/" + threadID : g.VIEW === 'index' && !QR.cooldown.auto && Conf['Open Post in New Tab'] ? "/" + g.BOARD + "/res/" + threadID + "#p" + postID : void 0;
|
||||
if (URL) {
|
||||
if (Conf['Open Post in New Tab']) {
|
||||
$.open(URL);
|
||||
|
||||
@ -358,7 +358,7 @@ Config =
|
||||
'Add \'(Cross-thread)\' to cross-threads quotes.'
|
||||
]
|
||||
'Quote Threading': [
|
||||
true
|
||||
false
|
||||
'Thread conversations'
|
||||
]
|
||||
|
||||
|
||||
@ -1195,10 +1195,11 @@ QR =
|
||||
|
||||
QR.cooldown.set {req, post, isReply}
|
||||
|
||||
URL = if threadID is postID # new thread
|
||||
URL = unless isReply # new thread
|
||||
"/#{g.BOARD}/res/#{threadID}"
|
||||
else if g.VIEW is 'index' and !QR.cooldown.auto and Conf['Open Post in New Tab'] # replying from the index
|
||||
"/#{g.BOARD}/res/#{threadID}#p#{postID}"
|
||||
|
||||
if URL
|
||||
if Conf['Open Post in New Tab']
|
||||
$.open URL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user