Commit 391844ec authored by Jonathan Wilkes's avatar Jonathan Wilkes

another attempt at guarding against out-of-order messages

parent 9db3e780
......@@ -1958,10 +1958,12 @@ function gui_message_redraw_border(cid, tag, width, height) {
var g, b;
if (patchwin[cid]) {
g = get_gobj(cid, tag);
b = g.querySelector(".border");
configure_item(b, {
points: message_border_points(width, height),
});
if (g) {
b = g.querySelector(".border");
configure_item(b, {
points: message_border_points(width, height),
});
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment