2016-08-05 11:39:31 +00:00
|
|
|
/**
|
|
|
|
* Created by Norbi on 2016-08-05.
|
|
|
|
*/
|
|
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
var cmsgs = document.getElementById("channelmessages");
|
2016-08-09 10:12:46 +00:00
|
|
|
if (cmsgs != null && cmsgs.childElementCount > 0) {
|
2016-08-10 12:05:30 +00:00
|
|
|
var nodes = cmsgs.children;
|
|
|
|
for (var x = 0; x < nodes.length; x++) {
|
|
|
|
var item = nodes[x];
|
2016-08-16 10:51:06 +00:00
|
|
|
if (item.tagName == "DIV")
|
|
|
|
handlereceivedmessage(item);
|
2016-08-10 12:05:30 +00:00
|
|
|
}
|
2016-08-09 10:12:46 +00:00
|
|
|
}
|
2016-08-05 11:39:31 +00:00
|
|
|
});
|