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