removed search script

master
zhetic 4 years ago
parent 321b88e235
commit 5fb2ab6893
  1. 4
      js/chapter_list.js
  2. 4
      search.html

@ -36,10 +36,10 @@ function load_info(remote, id) {
document.createElement("p"), document.createElement("p"),
{textContent: "Status: " + manga["publication_status"]} {textContent: "Status: " + manga["publication_status"]}
)); ));
var date = new Date(1000 * manga["last_updated"])
text.appendChild(Object.assign( text.appendChild(Object.assign(
document.createElement("p"), document.createElement("p"),
{textContent: "Last Updated: " + manga["last_updated"]} {textContent: "Last Updated: "+date.toLocaleTimeString("en-US")+" "+date.toLocaleDateString("en-US")}
)); ));
var tags = document.createElement("p"); var tags = document.createElement("p");

@ -71,16 +71,16 @@
</div> </div>
<script type="text/javascript" src="js/title_list.js"></script> <script type="text/javascript" src="js/title_list.js"></script>
<script type="text/javascript" src="js/search.js"></script>
<script> <script>
document.onreadystatechange = function () { document.onreadystatechange = function () {
if(document.readyState == "interactive") {
console.log("on load"); console.log("on load");
load_titles("https://amangathing.ddns.net/instance/manga/search"+window.location.search); load_titles("https://amangathing.ddns.net/instance/manga/search"+window.location.search);
document.querySelector("#title_list").style.visibility = "visible"; document.querySelector("#title_list").style.visibility = "visible";
document.querySelector("#label").textContent = "Result"; document.querySelector("#label").textContent = "Result";
} }
}
</script> </script>
</body> </body>
</html> </html>

Loading…
Cancel
Save