removed search script

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

@ -36,10 +36,10 @@ function load_info(remote, id) {
document.createElement("p"),
{textContent: "Status: " + manga["publication_status"]}
));
var date = new Date(1000 * manga["last_updated"])
text.appendChild(Object.assign(
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");

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

Loading…
Cancel
Save