Tak se s tím pořád trápím :( Nevíš prosím tě co s tím je?
Dostávám chybu : Uncaught TypeError: Cannot read property 'disconnect' of undefined at MutationObserver.disconnect
class Zmeny{
start(){
var target= document.querySelector('#prehled');
var options= { childList:true, attributes:true, subtree:true};
this.observer= new MutationObserver(this.stop);
this.observer.observe(target, options);
}
stop(){
this.observer.disconnect();
}
}