updated qdrant-page-search package (#358)

This commit is contained in:
trean
2023-10-19 22:19:19 +02:00
committed by GitHub
parent 1f234b7fac
commit e28f3d16c7
2 changed files with 257 additions and 235 deletions
+1 -1
View File
@@ -1 +1 @@
$(document).ready((function(){var o=new URLSearchParams(window.location.search).get("selector");if(o){console.log(window.atob(o));var e=document.querySelector(window.atob(o)),t=e.getBoundingClientRect().top+window.pageYOffset-250;window.scrollTo({top:t,behavior:"smooth"});var r=setTimeout((function(){e.style.backgroundColor="rgba(255,246,188,0.73)",clearTimeout(r)}),1500),n=setTimeout((function(){e.style.removeProperty("background-color"),clearTimeout(n)}),3e3)}}));
$(document).ready((function(){var e=new URLSearchParams(window.location.search).get("selector");if(e){var o=document.querySelector(window.atob(e)),t=o.getBoundingClientRect().top+window.pageYOffset-250;window.scrollTo({top:t,behavior:"smooth"});var r=setTimeout((function(){o.style.backgroundColor="rgba(255,246,188,0.73)",clearTimeout(r)}),1500),a=setTimeout((function(){o.style.removeProperty("background-color");var e=new URL(window.location);e.searchParams.delete("selector"),history.replaceState(null,null,e),clearTimeout(a)}),3e3)}}));