You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`
`<script>
$(document).ready(function(){
$(".media_preview_container").on("click.test",".media_preview",function(){
alert('clicked on media preview class');
});
});
</script>`
Steps:
Open dev console, browse the .media_preview DIV and it has no event icon set, only the .media_preview_container has it and it doesnt point to any child, so there is no way to know that event is actually delegated to .media_preview
Actual results:
.media_preview doesnt show an event icon even tho it has an event assigned thru a delegation of .media_preview_container
Expected results:
Show the event icon in the .media_preview DIV and show its event code.
The text was updated successfully, but these errors were encountered:
I also submited a bug here (dont know if its the correct place)
https://bugzilla.mozilla.org/show_bug.cgi?id=1270884
Steps to reproduce:
HTML:
<script src="https://code.jquery.com/jquery-2.2.3.js" integrity="sha256-laXWtGydpwqJ8JA+X9x2miwmaiKhn8tVmOVEigRNtP4=" crossorigin="anonymous"></script>
<style> .media_preview { width:100px; height:100px; display:inline-block; margin:10px; } </style>
`
Steps:
Open dev console, browse the .media_preview DIV and it has no event icon set, only the .media_preview_container has it and it doesnt point to any child, so there is no way to know that event is actually delegated to .media_preview
Actual results:
.media_preview doesnt show an event icon even tho it has an event assigned thru a delegation of .media_preview_container
Expected results:
Show the event icon in the .media_preview DIV and show its event code.
The text was updated successfully, but these errors were encountered: