Skip to content

Commit

Permalink
Update custom.js
Browse files Browse the repository at this point in the history
  • Loading branch information
landaisbenj authored Oct 30, 2018
1 parent 50701bc commit 20d68c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
$( document ).ready(function() {

var targetedNode = holder[0];


// Create an observer instance linked to the callback function
var observer = new MutationObserver(function(mutationsList, observer) {
Expand All @@ -20,7 +19,7 @@ var targetedNode = holder[0];
});

// Start observing the target node for configured mutations
observer.observe(targetedNode, {
observer.observe( holder[0], {
attributes: true,
childList: true,
subtree: true
Expand Down

0 comments on commit 20d68c9

Please sign in to comment.