|
|
|
@ -1,3 +1,19 @@ |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @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();
|
|
|
|
@ -5,10 +21,3 @@ jQuery( window ).on( "load", function() { |
|
|
|
// 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'); |
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|