Skip to content
Snippets Groups Projects
Commit ac30ace4 authored by Daniele Scasciafratte's avatar Daniele Scasciafratte
Browse files

feat(js): added support for gutenberg notice

parent 4e524e34
No related branches found
No related tags found
1 merge request!20Feature/gutenberg
......@@ -4,7 +4,7 @@ jQuery( document ).ready(function() {
var type = '';
jQuery.each(classList, function(index, item) {
if (item.startsWith('notice-')) {
type = type.replace('notice-','');
type = item.replace('notice-','');
}
});
content = this.innerText;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment