1
0
forked from GitHub/gf-core

Use <input type=button ...> instead of <div ...> tags for the word magnets. This should make them clickable in more browsers and could improve layout.

This commit is contained in:
hallgren
2010-05-26 11:47:15 +00:00
parent 2b6d0ca25e
commit 1ff6d92b17

View File

@@ -241,9 +241,10 @@ function get_completions(menu) {
}
function word(s) {
var w=div_class("word",text(s));
w.setAttribute("onclick",'add_word("'+s+'")');
return w;
//var w=div_class("word",text(s));
//w.setAttribute("onclick",'add_word("'+s+'")');
//return w;
return button(s,'add_word("'+s+'")');
}
function add_word1(menu,s) {