Fixed changing names on AJAX pages
This commit is contained in:
parent
ca6f058188
commit
4634c26844
|
@ -48,4 +48,16 @@ function handleText(textNode)
|
|||
textNode.nodeValue = v;
|
||||
}
|
||||
|
||||
MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
|
||||
|
||||
var observer = new MutationObserver(function(mutations, observer) {
|
||||
loadReplace();
|
||||
});
|
||||
|
||||
// define what element should be observed by the observer
|
||||
// and what types of mutations trigger the callback
|
||||
observer.observe(document, {
|
||||
subtree: true,
|
||||
childList: true
|
||||
//...
|
||||
});
|
Loading…
Reference in New Issue