Skip to content

Commit

Permalink
Merge pull request #22 from tleish/use-read-for-load
Browse files Browse the repository at this point in the history
Use ready function for initialization
  • Loading branch information
andrewculver authored Mar 2, 2021
2 parents 714445f + 5e6a49e commit 1c44e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/magic_test/_javascript_helpers.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script text="text/javascript">

(function() {
ready(function() {
console.log("🪄 Magic Test activated in the browser!")
initializeStorage();
initializeMutationObserver();
})();
});

function clickFunction(event) {
var element = event.target
Expand Down

0 comments on commit 1c44e38

Please sign in to comment.