mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error where there is not search results
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
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
@@ -7,8 +7,6 @@ var blink_interval_exists = false;
|
|||||||
var unseen = false;
|
var unseen = false;
|
||||||
//var timer = 0;
|
//var timer = 0;
|
||||||
var api_key = "***REMOVED***";
|
var api_key = "***REMOVED***";
|
||||||
var result_html = $("#temp-results-container");
|
|
||||||
var empty_results_html = $("#empty-results-container").html();
|
|
||||||
var searching = false
|
var searching = false
|
||||||
var time_regex = /P((([0-9]*\.?[0-9]*)Y)?(([0-9]*\.?[0-9]*)M)?(([0-9]*\.?[0-9]*)W)?(([0-9]*\.?[0-9]*)D)?)?(T(([0-9]*\.?[0-9]*)H)?(([0-9]*\.?[0-9]*)M)?(([0-9]*\.?[0-9]*)S)?)?/
|
var time_regex = /P((([0-9]*\.?[0-9]*)Y)?(([0-9]*\.?[0-9]*)M)?(([0-9]*\.?[0-9]*)W)?(([0-9]*\.?[0-9]*)D)?)?(T(([0-9]*\.?[0-9]*)H)?(([0-9]*\.?[0-9]*)M)?(([0-9]*\.?[0-9]*)S)?)?/
|
||||||
var conf = [];
|
var conf = [];
|
||||||
@@ -30,6 +28,8 @@ var autoplay = true;
|
|||||||
var durationBegun = false;
|
var durationBegun = false;
|
||||||
var chat_active = false;
|
var chat_active = false;
|
||||||
|
|
||||||
|
var result_html;
|
||||||
|
var empty_results_html;
|
||||||
var mobile_beginning;
|
var mobile_beginning;
|
||||||
var timeout_search;
|
var timeout_search;
|
||||||
var id;
|
var id;
|
||||||
@@ -95,6 +95,8 @@ function init(){
|
|||||||
$('.collapsible').collapsible({
|
$('.collapsible').collapsible({
|
||||||
accordion : true // A setting that changes the collapsible behavior to expandable instead of the default accordion style
|
accordion : true // A setting that changes the collapsible behavior to expandable instead of the default accordion style
|
||||||
});
|
});
|
||||||
|
result_html = $("#temp-results-container");
|
||||||
|
empty_results_html = $("#empty-results-container").html();
|
||||||
|
|
||||||
//awdwad
|
//awdwad
|
||||||
$(".video-container").resizable({
|
$(".video-container").resizable({
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ var Search = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
search: function(search_input){
|
search: function(search_input){
|
||||||
|
console.log(result_html);
|
||||||
|
console.log(empty_results_html);
|
||||||
if(result_html == undefined || empty_results_html == undefined) {
|
if(result_html == undefined || empty_results_html == undefined) {
|
||||||
result_html = $("#temp-results-container");
|
result_html = $("#temp-results-container");
|
||||||
empty_results_html = $("#empty-results-container").html();
|
empty_results_html = $("#empty-results-container").html();
|
||||||
|
|||||||
Reference in New Issue
Block a user