first commit
This commit is contained in:
16
media/com_content/js/articles-status.js
Normal file
16
media/com_content/js/articles-status.js
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
(() => {
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const elements = [].slice.call(document.querySelectorAll('.article-status'));
|
||||
elements.forEach(element => {
|
||||
element.addEventListener('click', event => {
|
||||
event.stopPropagation();
|
||||
});
|
||||
});
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user