Lines 604-610
function registerFrameworkPluginHandler(name, eventType, handler) {
Link Here
|
604 |
} |
604 |
} |
605 |
$(document).ready(function() { |
605 |
$(document).ready(function() { |
606 |
function callPluginEventHandler (event) { |
606 |
function callPluginEventHandler (event) { |
607 |
event.preventDefault(); |
607 |
// Prevent "jump to top" |
|
|
608 |
if (event.type === 'click') { |
609 |
event.preventDefault(); |
610 |
} |
611 |
|
608 |
event.stopPropagation(); |
612 |
event.stopPropagation(); |
609 |
|
613 |
|
610 |
const plugin = event.target.getAttribute('data-plugin'); |
614 |
const plugin = event.target.getAttribute('data-plugin'); |
611 |
- |
|
|