forked from KABI/fedi.camp_Website
fixing closing button behaviour
This commit is contained in:
parent
cf2bf7ac6b
commit
932620e27b
2 changed files with 4 additions and 3 deletions
|
@ -298,7 +298,8 @@
|
|||
|
||||
// Handle the × button click
|
||||
$this.find('button.close').on('click', function(event) {
|
||||
event.stopPropagation(); // Prevent the click from bubbling to the article
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
location.hash = '';
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue