mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 23:38:26 +01:00
Update content of files
This commit is contained in:
parent
9b0bf8e55a
commit
73ed7e7ffd
2 changed files with 9 additions and 4 deletions
|
@ -38,9 +38,9 @@
|
|||
<script src="/js/main-aj.js?65"></script>
|
||||
<script src="/js/jquery-ex.js?14"></script>
|
||||
<script src="/js/qr-code-styling.js?1"></script>
|
||||
<script src="/js/auction.js?34"></script>
|
||||
<script src="/js/auction.js?35"></script>
|
||||
|
||||
<script>ajInit({"version":385,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":386,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">Main.init();
|
||||
</script>
|
||||
<script>Aj.pageLoaded();</script>
|
||||
|
|
|
@ -368,6 +368,9 @@ var Main = {
|
|||
}
|
||||
},
|
||||
eMainSearchInput: function(e) {
|
||||
if (!Aj.state.quickSearch) {
|
||||
return;
|
||||
}
|
||||
clearTimeout(Aj.state.searchTimeout);
|
||||
var cached_results = Main.getSearchCachedResult();
|
||||
if (cached_results) {
|
||||
|
@ -424,8 +427,10 @@ var Main = {
|
|||
filter: filter,
|
||||
sort: sort
|
||||
}, function(result) {
|
||||
cache[cache_key] = result;
|
||||
Main.updateResults(result);
|
||||
if (result.ok) {
|
||||
cache[cache_key] = result;
|
||||
Main.updateResults(result);
|
||||
}
|
||||
Aj.state.$mainSearchField.removeClass('loading');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue