Rename to connection_result_observer
This commit is contained in:
parent
d4d97d899d
commit
83feb9af10
@ -32,7 +32,7 @@ function bahnParseTrainName(dirty_train_name) {
|
||||
return dirty_train_name;
|
||||
}
|
||||
|
||||
var observer = new MutationObserver((mutations, observer) => {
|
||||
var connection_result_observer = new MutationObserver((mutations) => {
|
||||
mutations.forEach((mutation) => {
|
||||
if (mutation.type === 'childList') {
|
||||
var target = mutation.target;
|
||||
@ -63,7 +63,7 @@ var observer = new MutationObserver((mutations, observer) => {
|
||||
var target = document.getElementById('resultsOverview');
|
||||
|
||||
if(typeof target !== 'undefined') {
|
||||
observer.observe(target, {
|
||||
connection_result_observer.observe(target, {
|
||||
subtree: true,
|
||||
childList: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user