Oops, forgot to rename these.
This commit is contained in:
parent
cb3504c1d7
commit
f23915b5e7
@ -77,7 +77,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var $, $$, Anonymize, AutoGif, Conf, Config, DeleteButton, ExpandComment, ExpandThread, Favicon, FileInfo, Filter, Get, ImageExpand, ImageHover, Keybinds, Main, Menu, Nav, Options, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, Quotify, Redirect, ReplyHiding, ReportButton, RevealSpoilers, Sauce, StrikethroughQuotes, ThreadHiding, ThreadStats, Time, TitlePost, UI, Unread, Updater, Watcher, d, g, _base;
|
var $, $$, Anonymize, AutoGif, Conf, Config, DeleteButton, ExpandComment, ExpandThread, Favicon, FileInfo, Filter, Get, ImageExpand, ImageHover, Keybinds, Main, Menu, Nav, Options, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, Quotify, Redirect, ReplyHiding, ReportLink, RevealSpoilers, Sauce, StrikethroughQuotes, ThreadHiding, ThreadStats, Time, TitlePost, UI, Unread, Updater, Watcher, d, g, _base;
|
||||||
|
|
||||||
Config = {
|
Config = {
|
||||||
main: {
|
main: {
|
||||||
@ -3863,14 +3863,14 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
ReportButton = {
|
ReportLink = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var a;
|
var a;
|
||||||
a = Menu.newEntry('a');
|
a = Menu.newEntry('a');
|
||||||
a.href = 'javascript:;';
|
a.href = 'javascript:;';
|
||||||
a.textContent = 'Report this post';
|
a.textContent = 'Report this post';
|
||||||
$.addClass(a, 'report_button');
|
$.addClass(a, 'report_link');
|
||||||
$.on(a, 'click', ReportButton.report);
|
$.on(a, 'click', this.report);
|
||||||
return Menu.entries.push({
|
return Menu.entries.push({
|
||||||
el: a,
|
el: a,
|
||||||
requirements: {
|
requirements: {
|
||||||
@ -4530,8 +4530,8 @@
|
|||||||
if (Conf['Image Hover']) {
|
if (Conf['Image Hover']) {
|
||||||
ImageHover.init();
|
ImageHover.init();
|
||||||
}
|
}
|
||||||
if (Conf['Report Button']) {
|
if (Conf['Report Link']) {
|
||||||
ReportButton.init();
|
ReportLink.init();
|
||||||
}
|
}
|
||||||
if (Conf['Delete Button']) {
|
if (Conf['Delete Button']) {
|
||||||
DeleteButton.init();
|
DeleteButton.init();
|
||||||
|
|||||||
@ -3032,13 +3032,13 @@ DeleteButton =
|
|||||||
self.innerHTML = '[ Connection error, please retry. ]'
|
self.innerHTML = '[ Connection error, please retry. ]'
|
||||||
$.on self, 'click', DeleteButton.delete
|
$.on self, 'click', DeleteButton.delete
|
||||||
|
|
||||||
ReportButton =
|
ReportLink =
|
||||||
init: ->
|
init: ->
|
||||||
a = Menu.newEntry 'a'
|
a = Menu.newEntry 'a'
|
||||||
a.href = 'javascript:;'
|
a.href = 'javascript:;'
|
||||||
a.textContent = 'Report this post'
|
a.textContent = 'Report this post'
|
||||||
$.addClass a, 'report_button'
|
$.addClass a, 'report_link'
|
||||||
$.on a, 'click', ReportButton.report
|
$.on a, 'click', @report
|
||||||
Menu.entries.push
|
Menu.entries.push
|
||||||
el: a
|
el: a
|
||||||
requirements:
|
requirements:
|
||||||
@ -3526,8 +3526,8 @@ Main =
|
|||||||
if Conf['Image Hover']
|
if Conf['Image Hover']
|
||||||
ImageHover.init()
|
ImageHover.init()
|
||||||
|
|
||||||
if Conf['Report Button']
|
if Conf['Report Link']
|
||||||
ReportButton.init()
|
ReportLink.init()
|
||||||
|
|
||||||
if Conf['Delete Button']
|
if Conf['Delete Button']
|
||||||
DeleteButton.init()
|
DeleteButton.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user