SDL2

commit#830212

Jul 3rd, 2020
171
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // For setTimeout
  2.       var $that         = this;
  3.  
  4.       if ( ! this.elements.$cmsmasters_search_container_minimal.hasClass("active") ) {
  5.                 this.elements.$cmsmasters_search_container_minimal.addClass("cmsmasters_in");
  6.                 setTimeout( function() {
  7.                     $that.elements.$cmsmasters_search_container_minimal.removeClass("cmsmasters_in");
  8.           $that.elements.$cmsmasters_search_container_minimal.addClass("active");
  9.                 }, 300 );
  10.                 $this.elements.$cmsmasters_search_field.focus();
  11.             } else {
  12.                 this.elements.$cmsmasters_search_container_minimal.removeClass("active");
  13.                 this.elements.$cmsmasters_search_container_minimal.addClass("cmsmasters_out");
  14.                 setTimeout( function() {
  15.           $that.elements.$cmsmasters_search_container_minimal.removeClass("cmsmasters_out");
  16.                 }, 300 );
  17.             }
RAW Paste Data