Show More
@@ -407,12 +407,14 function ajaxScrollInit(urlFormat, | |||
|
407 | 407 | } else { |
|
408 | 408 | var doc = docFromHTML(htmlText); |
|
409 | 409 | var nodes = doc.querySelector(containerSelector).children; |
|
410 | var curClass = 'c' + Date.now(); | |
|
410 | 411 | while (nodes.length) { |
|
411 | 412 | var node = nodes[0]; |
|
412 | 413 | node = document.adoptNode(node); |
|
414 | node.classList.add(curClass); | |
|
413 | 415 | container.appendChild(node); |
|
414 | 416 | } |
|
415 | process_dates(); | |
|
417 | process_dates('.' + curClass); | |
|
416 | 418 | } |
|
417 | 419 | }, |
|
418 | 420 | function onerror(errorText) { |
General Comments 0
You need to be logged in to leave comments.
Login now