mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-07 20:18:49 +00:00
Search fixes #125, faster lazy-load image, detects localhost
This commit is contained in:
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB |
BIN
static/images/loading.png
Normal file
BIN
static/images/loading.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 786 B |
@@ -31,6 +31,9 @@ var Search = {
|
||||
if(Helper.contains($("#search_loader").attr("class").split(" "), "hide"))
|
||||
$("#search_loader").removeClass("hide");
|
||||
|
||||
if(Helper.contains($("#results").attr("class").split(" "), "hide"))
|
||||
$("#results").removeClass("hide");
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: yt_url,
|
||||
|
||||
Reference in New Issue
Block a user