Fix an issue causing duplicate backlinks to be generated
Actually, it caused a lot of issues, but that was a big one.
This commit is contained in:
parent
07a12bbd2f
commit
3174af1c50
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* appchan x - Version 2.9.5 - 2014-03-15
|
* appchan x - Version 2.9.5 - 2014-03-19
|
||||||
*
|
*
|
||||||
* 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
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* appchan x - Version 2.9.5 - 2014-03-15
|
* appchan x - Version 2.9.5 - 2014-03-19
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -16508,7 +16508,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
e.preventDefault();
|
if (e != null) {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.addClass(Index.button, 'fa-spin');
|
$.addClass(Index.button, 'fa-spin');
|
||||||
@ -17949,7 +17951,7 @@
|
|||||||
});
|
});
|
||||||
$.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]);
|
$.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]);
|
||||||
}
|
}
|
||||||
if (!(Conf['JSON Navigation'] && g.VIEW === 'index')) {
|
if (!Conf['JSON Navigation'] in g.VIEW === 'thread') {
|
||||||
Main.initThread();
|
Main.initThread();
|
||||||
} else {
|
} else {
|
||||||
$.event('4chanXInitFinished');
|
$.event('4chanXInitFinished');
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* appchan x - Version 2.9.5 - 2014-03-15
|
* appchan x - Version 2.9.5 - 2014-03-19
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -16527,7 +16527,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
e.preventDefault();
|
if (e != null) {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.addClass(Index.button, 'fa-spin');
|
$.addClass(Index.button, 'fa-spin');
|
||||||
@ -17960,7 +17962,7 @@
|
|||||||
});
|
});
|
||||||
$.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]);
|
$.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]);
|
||||||
}
|
}
|
||||||
if (!(Conf['JSON Navigation'] && g.VIEW === 'index')) {
|
if (!Conf['JSON Navigation'] in g.VIEW === 'thread') {
|
||||||
Main.initThread();
|
Main.initThread();
|
||||||
} else {
|
} else {
|
||||||
$.event('4chanXInitFinished');
|
$.event('4chanXInitFinished');
|
||||||
|
|||||||
@ -196,7 +196,7 @@ Main =
|
|||||||
$.before styleSelector.previousSibling, [$.tn '['; passLink, $.tn ']\u00A0\u00A0']
|
$.before styleSelector.previousSibling, [$.tn '['; passLink, $.tn ']\u00A0\u00A0']
|
||||||
|
|
||||||
# Parse HTML or skip it and start building from JSON.
|
# Parse HTML or skip it and start building from JSON.
|
||||||
unless Conf['JSON Navigation'] and g.VIEW is 'index'
|
if !Conf['JSON Navigation'] of g.VIEW is 'thread'
|
||||||
Main.initThread()
|
Main.initThread()
|
||||||
else
|
else
|
||||||
$.event '4chanXInitFinished'
|
$.event '4chanXInitFinished'
|
||||||
|
|||||||
@ -195,7 +195,7 @@ Navigate =
|
|||||||
Index.buildIndex()
|
Index.buildIndex()
|
||||||
else
|
else
|
||||||
Index.update()
|
Index.update()
|
||||||
e.preventDefault()
|
e?.preventDefault()
|
||||||
return
|
return
|
||||||
|
|
||||||
$.addClass Index.button, 'fa-spin'
|
$.addClass Index.button, 'fa-spin'
|
||||||
|
|||||||
@ -190,7 +190,7 @@ Linkify =
|
|||||||
embed.dataset.title = title[0]
|
embed.dataset.title = title[0]
|
||||||
else
|
else
|
||||||
try
|
try
|
||||||
$.cache service.api(uid),
|
$.cache service.api(uid),
|
||||||
-> title = Linkify.cb.title @, data
|
-> title = Linkify.cb.title @, data
|
||||||
,
|
,
|
||||||
responseType: 'json'
|
responseType: 'json'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user