removed uneeded lines and corrected comments

This commit is contained in:
jorge 2023-01-15 15:06:20 +01:00
parent de60c363e3
commit 92ad836a75
1 changed files with 5 additions and 8 deletions

View File

@ -20,7 +20,7 @@
?>
<?php
if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ){
function ofisuport_ajuts_filters_form() {
?>
<div id="archive-filters" class="ofisuport-filters">
@ -82,7 +82,7 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
<?php //echo '<p><span id="filterlink"></span></p>';?>
<p><a id="submitfilteredlink" name="submit-ajut" class="button button-more" href="">enviar</a> </p>
</form>
<?php //close the form and subit ?>
<?php //close the form and subit ?>
<?php }; //end if groupkey ?>
@ -90,12 +90,8 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
<script type="text/javascript">
(function($) {
// change
//$('#archive-filters').on('click', 'button', function(){
$('#archive-filters').on('click', 'input', function(){
// vars
@ -164,6 +160,7 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
</script>
<?php
}; //end ofisuport_display_filters()
endif; // end if ! functionexists
}; //end ofisuport_ajuts_filters_form()
}; // end if ! functionexists
?>