Permalink
Browse files

Bugfix: setCell should work with elements as well as text (Fixes #4)

  • Loading branch information...
1 parent 5a8f5d4 commit 45febfd980291091e9412583edb16e64aac0776c @reednj committed Jan 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/jsTable.js
View
2 Source/jsTable.js
@@ -274,7 +274,7 @@ var jsTable = new Class({
if($type(cell_content) == 'element') {
td.empty();
- td.inject(cell_content);
+ td.grab(cell_content);
} else {
td.innerHTML = cell_content;
}

0 comments on commit 45febfd

Please sign in to comment.