aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/search.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/assets/js/search.min.js')
-rw-r--r--app/src/main/assets/js/search.min.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/src/main/assets/js/search.min.js b/app/src/main/assets/js/search.min.js
index fe93d004..c5e577d1 100644
--- a/app/src/main/assets/js/search.min.js
+++ b/app/src/main/assets/js/search.min.js
@@ -1,10 +1,14 @@
console.log("Binding Search")
-;var page=document.querySelector("#page"),x=new MutationObserver(function(e){
-Frost.handleHtml(page.innerHTML)
+;var _f_page=document.querySelector("#page")
+
+;_f_page||Frost.emit(1),Frost.emit(0)
+
+;var x=new MutationObserver(function(e){
+Frost.handleHtml(page.innerHTML),Frost.emit(2)
})
-;x.observe(page,{
+;x.observe(_f_page,{
childList:!0,
subtree:!0
}); \ No newline at end of file