We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4340884 commit af3469aCopy full SHA for af3469a
webapp/WEB-INF/templates/admin/plugins/blog/blog_commons.html
@@ -396,9 +396,11 @@
396
});
397
398
const btnCreateTag = document.querySelector( "#createTag" )
399
- btnCreateTag.addEventListener( 'click', event => {
400
- createTag( idBlog );
401
- });
+ if (btnCreateTag){
+ btnCreateTag.addEventListener( 'click', event => {
+ createTag( idBlog );
402
+ });
403
+ }
404
405
const btnAddFiles = document.querySelector("#btn-add-files")
406
btnAddFiles.addEventListener( 'click', event => {
0 commit comments