Commit 03bc6831 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix grid bug and a typo

parent 6c972269
......@@ -2414,7 +2414,7 @@ function gui_text_redraw_border(cid, tag, x1, y1, x2, y2) {
// Hm, need to figure out how to refactor to get rid of
// configure_item call...
gui(cid).get_gobj(tag, function(e) {
var b = g.querySelectorAll(".border"),
var b = e.querySelectorAll(".border"),
i;
for (i = 0; i < b.length; b++) {
configure_item(b[i], {
......@@ -3947,7 +3947,7 @@ function gui_configure_grid(cid, tag, w, h, bg_color, has_grid, x_l, y_l) {
}
function gui_grid_new(cid, tag, x, y, is_toplevel) {
gui(cid).get_gobj("patchsvg", function(svg_elem) {
gui(cid).get_elem("patchsvg", function(svg_elem) {
gui_gobj_new(cid, tag, "obj", x, y, is_toplevel);
});
gui(cid).get_gobj(tag)
......
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