mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-25 16:59:04 +01:00
Update content of files
This commit is contained in:
parent
521dfccbe7
commit
bf9991056c
2 changed files with 7 additions and 2 deletions
|
@ -38,10 +38,10 @@
|
||||||
<script src="/js/main-aj.js?67"></script>
|
<script src="/js/main-aj.js?67"></script>
|
||||||
<script src="/js/jquery-ex.js?14"></script>
|
<script src="/js/jquery-ex.js?14"></script>
|
||||||
<script src="/js/qr-code-styling.js?1"></script>
|
<script src="/js/qr-code-styling.js?1"></script>
|
||||||
<script src="/js/auction.js?57"></script>
|
<script src="/js/auction.js?58"></script>
|
||||||
<script src="/js/tgsticker.js?30"></script>
|
<script src="/js/tgsticker.js?30"></script>
|
||||||
|
|
||||||
<script>ajInit({"version":468,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
<script>ajInit({"version":469,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||||
<script id="aj_script">Aj._useScrollHack=true;
|
<script id="aj_script">Aj._useScrollHack=true;
|
||||||
Main.init();
|
Main.init();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1532,6 +1532,7 @@ var Premium = {
|
||||||
state.$premiumSearchForm = $('.js-premium-form');
|
state.$premiumSearchForm = $('.js-premium-form');
|
||||||
state.$premiumSearchForm.on('submit', Premium.eSearchSubmit);
|
state.$premiumSearchForm.on('submit', Premium.eSearchSubmit);
|
||||||
state.$premiumSearchForm.field('query').on('input', Premium.eSearchInput);
|
state.$premiumSearchForm.field('query').on('input', Premium.eSearchInput);
|
||||||
|
state.$premiumSearchForm.field('query').on('change', Premium.eSearchChange);
|
||||||
$('.js-form-clear', state.$premiumSearchForm).on('click', Premium.eSearchClear);
|
$('.js-form-clear', state.$premiumSearchForm).on('click', Premium.eSearchClear);
|
||||||
state.$premiumSearchForm.on('change', '.js-premium-options input.radio', Premium.eRadioChanged);
|
state.$premiumSearchForm.on('change', '.js-premium-options input.radio', Premium.eRadioChanged);
|
||||||
state.$giftPremiumForm.on('change', 'input.checkbox', Premium.eCheckboxChanged);
|
state.$giftPremiumForm.on('change', 'input.checkbox', Premium.eCheckboxChanged);
|
||||||
|
@ -1554,6 +1555,7 @@ var Premium = {
|
||||||
Main.destroyForm(state.$giftPremiumForm);
|
Main.destroyForm(state.$giftPremiumForm);
|
||||||
state.$premiumSearchForm.off('submit', Premium.eSearchSubmit);
|
state.$premiumSearchForm.off('submit', Premium.eSearchSubmit);
|
||||||
state.$premiumSearchForm.field('query').off('input', Premium.eSearchInput);
|
state.$premiumSearchForm.field('query').off('input', Premium.eSearchInput);
|
||||||
|
state.$premiumSearchForm.field('query').on('change', Premium.eSearchChange);
|
||||||
$('.js-form-clear', state.$premiumSearchForm).off('click', Premium.eSearchClear);
|
$('.js-form-clear', state.$premiumSearchForm).off('click', Premium.eSearchClear);
|
||||||
state.$premiumSearchForm.off('change', '.js-premium-options input.radio', Premium.eRadioChanged);
|
state.$premiumSearchForm.off('change', '.js-premium-options input.radio', Premium.eRadioChanged);
|
||||||
state.$giftPremiumForm.off('change', 'input.checkbox', Premium.eCheckboxChanged);
|
state.$giftPremiumForm.off('change', 'input.checkbox', Premium.eCheckboxChanged);
|
||||||
|
@ -1609,6 +1611,9 @@ var Premium = {
|
||||||
$('.js-search-field-error').html('');
|
$('.js-search-field-error').html('');
|
||||||
$field.removeClass('error');
|
$field.removeClass('error');
|
||||||
},
|
},
|
||||||
|
eSearchChange: function(e) {
|
||||||
|
Premium.searchSubmit();
|
||||||
|
},
|
||||||
eSearchClear: function(e) {
|
eSearchClear: function(e) {
|
||||||
var $form = Aj.state.$premiumSearchForm;
|
var $form = Aj.state.$premiumSearchForm;
|
||||||
var $field = Aj.state.$premiumSearchField;
|
var $field = Aj.state.$premiumSearchField;
|
||||||
|
|
Loading…
Reference in a new issue