Compare commits

..

2 Commits

1 changed files with 35 additions and 40 deletions

View File

@ -18,9 +18,8 @@
* @package Oficina_de_Suport_theme * @package Oficina_de_Suport_theme
*/ */
?> ?>
<?php <?php
if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ): if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
function ofisuport_ajuts_filters_form() { function ofisuport_ajuts_filters_form() {
?> ?>
<div id="archive-filters" class="ofisuport-filters"> <div id="archive-filters" class="ofisuport-filters">
@ -90,12 +89,8 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
<script type="text/javascript"> <script type="text/javascript">
(function($) { (function($) {
// change // change
//$('#archive-filters').on('click', 'button', function(){
$('#archive-filters').on('click', 'input', function(){ $('#archive-filters').on('click', 'input', function(){
// vars // vars
@ -164,6 +159,6 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
</script> </script>
<?php <?php
}; //end ofisuport_display_filters() }; //end ofisuport_ajuts_filters_form
endif; // end if ! functionexists }; // end if ! functions_exists
?> ?>