N°2127 - Fix fullscreen closing on content click

This commit is contained in:
Molkobain
2020-12-17 13:37:04 +01:00
parent 47cebb8671
commit d664c26fb7

View File

@@ -134,8 +134,7 @@ $(document).ready(function(){
return false;
}
// If target selector return one element, it's the good target
oTargetElem.on('click', function(oEvent){
$(this).on('click', function(oEvent){
// Prevent anchor default behavior
oEvent.preventDefault();