diff --git a/src/js/udom.js b/src/js/udom.js index 54ee4f0d2..98d131823 100644 --- a/src/js/udom.js +++ b/src/js/udom.js @@ -82,6 +82,12 @@ DOMListFactory.onLoad = function(callback) { /******************************************************************************/ +DOMListFactory.nodeFromId = function(id) { + return document.getElementById(id); +}; + +/******************************************************************************/ + var addNodeToList = function(list, node) { if ( node ) { list.nodes.push(node);