Stop observing loaded patterns
This commit is contained in:
parent
4c394e5215
commit
74abc40dc4
@ -205,6 +205,7 @@ module.exports = {
|
|||||||
|
|
||||||
switch (ajx.status) {
|
switch (ajx.status) {
|
||||||
case 200:
|
case 200:
|
||||||
|
observer.unobserve(article.target);
|
||||||
a.innerHTML = a.innerHTML + ajx.responseText;
|
a.innerHTML = a.innerHTML + ajx.responseText;
|
||||||
|
|
||||||
switch (a.getAttribute("data-template")) {
|
switch (a.getAttribute("data-template")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user