Skip to content

Commit

Permalink
Фикс для Пул реквеста
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg committed May 16, 2018
1 parent 82e568a commit a43ced6
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions application/frontend/components/search-ajax/js/search-ajax.js
Expand Up @@ -56,17 +56,7 @@
_this._initFilter( value );
});

//TODO: отрабатывает не чисто
window.onpopstate = function (event) {
$.each(event.state, function(key, val){
this.setParam(key, val);
}.bind(this));

this._trigger( 'beforeupdate', null, this );

this._load( 'search', 'onUpdate' );
}.bind(this);


// Кнопка подгрузки
this.elements.more.lsMore({
urls: {
Expand Down

0 comments on commit a43ced6

Please sign in to comment.