Skip to content
Snippets Groups Projects
Commit 3b485b92 authored by echicken's avatar echicken
Browse files

@DigitalMan | JavaScript s:\sbbs\exec\avatar_chooser.js line 775: TypeError:...

@DigitalMan | JavaScript  s:\sbbs\exec\avatar_chooser.js line 775: TypeError: state.opt_out_item is null

uh, this oughta do away with that, I guess
parent e7015ce8
No related branches found
No related tags found
No related merge requests found
......@@ -771,7 +771,7 @@ function MainMenu(parent_frame) {
state.cl = null;
frames.parent.attr = BG_BLACK|LIGHTGRAY;
state.tree.open();
if (state.user_avatar !== null) {
if (state.user_avatar !== null && state.opt_out_item !== null) {
state.opt_out_item.disable();
state.opt_out_item.hide();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment