Skip to content

Commit 829e00c

Browse files
Potusektomaski
authored andcommitted
fix: fixes settings not loading
when a dev version of the script is built, script settings would not load
1 parent 61b01ea commit 829e00c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/RepConvGRC.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,10 +1986,10 @@ function _RepConvGRC() {
19861986
),
19871987
resEmo = $('<fieldset/>', {'style': 'float:right; width:370px; min-height: 250px;'})
19881988

1989-
var chbx = {}
1990-
$.each(RepConv.sChbxs, function(opt, optData){
1991-
chbx[opt] = genCheckBox(opt, RepConv.settings[opt], optData.label)
1992-
})
1989+
var chbx = {}
1990+
$.each(RepConv.sChbxs, function(opt, optData){
1991+
chbx[opt] = genCheckBox(opt, RepConv.settings[opt], optData.label)
1992+
})
19931993

19941994
// cPower = genCheckBox(RepConv.CookiePower, RepConv.active.power, 'CHKPOWERNAME'),
19951995
// cFTabs = genCheckBox(RepConv.CookieForumTabs, RepConv.active.ftabs, 'CHKFORUMTABS'),
@@ -2004,6 +2004,7 @@ function _RepConvGRC() {
20042004

20052005
// cbBuPo = genCheckBox(RepConv.Cookie+'_bupo', RepConv.settings[RepConv.Cookie+'_bupo'], 'CHKBUPO'),
20062006

2007+
var
20072008
cSLoop = genCheckBox('GRCRTsoundLoop',RepConv.active.sounds.loop, 'CHKSOUNDLOOP'),
20082009
cSMute = genCheckBox('GRCRTsoundMute',RepConv.active.sounds.mute, 'POPSOUNDMUTE'),
20092010
sStats = $('<div/>',{'id':'statsGRC2Sel','class':'dropdown default','style':'margin-left:5px;width: 150px;'})

0 commit comments

Comments
 (0)