Skip to content

Commit

Permalink
Update grapple-jquery.js
Browse files Browse the repository at this point in the history
Improved handling for custom URLs
  • Loading branch information
mmaiatico authored May 24, 2017
1 parent 3753202 commit 707d113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/grapple-jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ GrappleTable.prototype = {
var self = this;
var url = this.url;
if(params.length) {
url += '?' + params;
url += (url.indexOf('?') == -1 ? '?' : '&') + params;
}
$.ajax(url, {
success: function(data) {
Expand Down

0 comments on commit 707d113

Please sign in to comment.