Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit 6744fb6

Browse files
committed
removing broken facebook workarounds
1 parent 9715266 commit 6744fb6

4 files changed

Lines changed: 2 additions & 53 deletions

File tree

src/mods/facebook.js

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/mods/raids.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ idrinth.raids = {
319319
}
320320
};
321321
var options = [ postLink ];
322-
if ( idrinth.platform !== 'newgrounds') {
322+
if ( idrinth.platform === 'armorgames' || idrinth.platform === 'kongregate') {
323323
options.push ( byMessage );
324324
}
325325
return options;
@@ -330,7 +330,7 @@ idrinth.raids = {
330330
* @returns {Boolean}
331331
*/
332332
var reachedMax = function ( amount ) {
333-
return amount > 99 || ( ( idrinth.platform === 'facebook' || idrinth.platform === 'dawnofthedragons' ) && amount >= idrinth.settings.get ( "windows" ) );
333+
return amount > 99;
334334
};
335335
/**
336336
*

src/mods/settings.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,6 @@ idrinth.settings = {
4949
* @type Number
5050
*/
5151
timeout: 5000,
52-
/**
53-
*
54-
* @type Number
55-
*/
56-
loadtime: 5000,
57-
/**
58-
*
59-
* @type Number
60-
*/
61-
windows: 3,
6252
/**
6353
*
6454
* @type Boolean

src/mods/ui.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,6 @@ idrinth.ui = {
537537
buttonMaker ( idrinth.text.get ( "raids.clear" ), 'idrinth.raids.clearAll();' ),
538538
buttonMaker ( idrinth.text.get ( "button.reloadScript" ), 'idrinth.reload();' ),
539539
buttonMaker ( idrinth.text.get ( "raids.imports.restart" ), 'idrinth.raids.start();' ),
540-
buttonMaker ( idrinth.text.get ( "button.refreshFBGameLogin" ), 'idrinth.facebook.rejoin()', 'facebook' ),
541540
buttonMaker ( idrinth.text.get ( "button.ngRaidJoin" ), 'idrinth.newgrounds.joinRaids()', 'newgrounds' ),
542541
buttonMaker ( idrinth.settings.get ( "alarmActive" ) ? idrinth.text.get ( "button.disableTimedAutoJoin" ) : idrinth.text.get ( "button.enableTimedAutoJoin" ),
543542
'idrinth.settings.change(\'alarmActive\',!idrinth.settings.get("alarmActive"));this.innerHTML=idrinth.settings.get("alarmActive") ? idrinth.text.get ( "button.disableTimedAutoJoin" ):"button.enableTimedAutoJoin"', 'newgrounds' )
@@ -714,12 +713,6 @@ idrinth.ui = {
714713
type: 'text',
715714
platforms: [ 'newgrounds' ],
716715
label: "ui.timeAutoJoin"
717-
}, {
718-
name: 'windows',
719-
rType: '#input',
720-
type: 'number',
721-
platforms: [ 'dawnofthedragons', 'facebook' ],
722-
label: "ui.maxPopupsFrame"
723716
} ], 'raidjoining' ),
724717
wrap ( [ {
725718
name: 'chatting',

0 commit comments

Comments
 (0)