diff options
| author | Cadey Dodrill <me@christine.website> | 2016-12-14 08:24:52 -0800 |
|---|---|---|
| committer | Cadey Dodrill <me@christine.website> | 2016-12-14 08:24:52 -0800 |
| commit | 449f76cb30be714ef2cec79fa0c53c03773b248d (patch) | |
| tree | bb2a0c590f3a15ddfd68fd5a3e9b3b3872c3cde3 /frontend/support | |
| parent | 90f176019a1723aa0d4b7cbb97009944e60e963d (diff) | |
| download | xesite-449f76cb30be714ef2cec79fa0c53c03773b248d.tar.xz xesite-449f76cb30be714ef2cec79fa0c53c03773b248d.zip | |
Autoload blogposts on the blog page
Diffstat (limited to 'frontend/support')
| -rw-r--r-- | frontend/support/index.html | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/frontend/support/index.html b/frontend/support/index.html index 3b53f83..86b06a4 100644 --- a/frontend/support/index.html +++ b/frontend/support/index.html @@ -14,30 +14,5 @@ </head> <body> <div id="app"></div> - - <script> - // Forgive me - function eventFire(el, etype){ - if (el.fireEvent) { - el.fireEvent('on' + etype); - } else { - var evObj = document.createEvent('Events'); - evObj.initEvent(etype, true, false); - el.dispatchEvent(evObj); - } - } - - interval = setInterval(function() { - e = document.getElementById("requestbutton"); - if(e != null) { - eventFire(e, "click"); - } else { - console.log("Tried so hard been so far") - } - clearInterval(interval); - - e.style.display = "none"; - }, 250); - </script> </body> </html> |
