préparation code pour 19/02, essai js pour base de données
This commit is contained in:
@@ -132,6 +132,32 @@ jQuery(function($) {
|
||||
});
|
||||
|
||||
|
||||
/////////////////////////////////////////
|
||||
// masquer bouton proposer une ressource pour collection 50 ans
|
||||
|
||||
// jQuery(function($) {
|
||||
// var path = window.location.href; // because the 'href' property of the DOM element is the absolute path
|
||||
// console.log(path);
|
||||
|
||||
// $ (function bouton() {
|
||||
|
||||
// if (path.indexOf("/ressources/bdd/29") > -1) {
|
||||
// (".block-block-content82917d0c-5004-4bfb-af66-ce334782d82d").addClass('.notdisplaid');
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
|
||||
|
||||
// jQuery(function($) {
|
||||
// var path = window.location.href; // because the 'href' property of the DOM element is the absolute path
|
||||
// console.log(path);
|
||||
// $(".block-block-content82917d0c-5004-4bfb-af66-ce334782d82d").each(function() {
|
||||
// if (this.href === path) {
|
||||
// $(this).parent().closest('.field--name-field-lien').addClass('notdisplaid');
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
|
||||
|
||||
|
||||
// /////////////////
|
||||
|
||||
Reference in New Issue
Block a user