Redundant

This commit is contained in:
Zixaphir 2014-03-23 12:32:40 -07:00
parent 228eba30fb
commit 55e43147ed
4 changed files with 3 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.4.1 - 2014-03-22
* 4chan X - Version 1.4.1 - 2014-03-23
*
* Licensed under the MIT license.
* https://github.com/Spittie/4chan-x/blob/master/LICENSE

View File

@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.4.1 - 2014-03-22
* 4chan X - Version 1.4.1 - 2014-03-23
*
* Licensed under the MIT license.
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
@ -2526,9 +2526,6 @@
});
$.on(this.button, 'click', this.update);
Header.addShortcut(this.button, 1);
if (g.BOARD.ID === 'f') {
return;
}
this.db = new DataBoard('pinnedThreads');
Thread.callbacks.push({
name: 'Thread Pinning',

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* 4chan X - Version 1.4.1 - 2014-03-22
* 4chan X - Version 1.4.1 - 2014-03-23
*
* Licensed under the MIT license.
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
@ -2585,9 +2585,6 @@
});
$.on(this.button, 'click', this.update);
Header.addShortcut(this.button, 1);
if (g.BOARD.ID === 'f') {
return;
}
this.db = new DataBoard('pinnedThreads');
Thread.callbacks.push({
name: 'Thread Pinning',

View File

@ -13,8 +13,6 @@ Index =
$.on @button, 'click', @update
Header.addShortcut @button, 1
return if g.BOARD.ID is 'f'
@db = new DataBoard 'pinnedThreads'
Thread.callbacks.push
name: 'Thread Pinning'