remove dropdown javascript if not needed
-
Hey there,
I love your plugin and I’m using for many years now.
I noticed the plugin places the following js script to the wp_footer, however I’m not using the dropdown series function.
I tried to remove_action, but no luck.
Can you help me how I can add a remove_action to not having it.
Thanks,
Andras<script type=’text/javascript’><!–
var seriesdropdown = document.getElementById(“orgseries_dropdown”);
if (seriesdropdown) {
function onSeriesChange() {
if ( seriesdropdown.options[seriesdropdown.selectedIndex].value != ( 0 || -1 ) ) {
location.href = “https://utazgatok.hu/cikk-sorozat/”+seriesdropdown.options%5Bseriesdropdown.selectedIndex%5D.value;
}
}
seriesdropdown.onchange = onSeriesChange;
}
–></script>
- The topic ‘remove dropdown javascript if not needed’ is closed to new replies.