Skip to content

Commit

Permalink
Update AutoPaginateBlade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
maikealame authored Oct 15, 2020
1 parent a2953a9 commit 42a6cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoPaginateBlade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function async($param){
$changeUrl = isset($param[1]) ? $param[1] : true;
$r = '<script>
$(document).ready(function(){
$(document).on("click",'.(isset($param[2]) ? $param[2] : ".pagination a").',function(e){
$(document).on("click","'.(isset($param[2]) ? $param[2] : ".pagination a").'",function(e){
e.preventDefault();
var url = $(this).attr("href");
__autoLoadAsync(url);
Expand Down

0 comments on commit 42a6cd7

Please sign in to comment.