2 changed files with 8 additions and 17 deletions
@ -1,24 +1,14 @@ |
|||||||
/** |
|
||||||
* @file |
|
||||||
* Customization of checkbox. |
|
||||||
*/ |
|
||||||
|
|
||||||
((Drupal) => { |
|
||||||
/** |
|
||||||
* Constructs a checkbox input element. |
|
||||||
* |
|
||||||
* @return {string} |
|
||||||
* A string representing a DOM fragment. |
|
||||||
*/ |
|
||||||
Drupal.theme.checkbox = () => |
|
||||||
'<input type="checkbox" class="form-checkbox form-boolean form-boolean--type-checkbox"/>'; |
|
||||||
})(Drupal); |
|
||||||
|
|
||||||
jQuery( window ).on( "load", function() { |
jQuery( window ).on( "load", function() { |
||||||
console.log( "window loaded" ); |
// console.log( "window loaded" );
|
||||||
//jQuery(".mirador80").remove();
|
//jQuery(".mirador80").remove();
|
||||||
//jQuery(".mirador104").click();
|
//jQuery(".mirador104").click();
|
||||||
// jQuery('.mirador104 button.MuiButtonBase-root.MuiIconButton-root').trigger('click');
|
// jQuery('.mirador104 button.MuiButtonBase-root.MuiIconButton-root').trigger('click');
|
||||||
|
|
||||||
}); |
}); |
||||||
|
jQuery(window).on('load', function () { |
||||||
|
|
||||||
|
if (jQuery(window).width() <= 999) { |
||||||
|
console.log( "the search block is placed with js" ); |
||||||
|
jQuery('#block-olivesdocs-solrsearchcontentadvancedsearchforpage').prependTo('#content'); |
||||||
|
}
|
||||||
|
}); |
||||||
|
|||||||
Loading…
Reference in new issue