prototype: remove redundant conditional

This commit is contained in:
Sam Stephenson 2007-01-28 07:34:43 +00:00
parent 343eae8bfc
commit 225bf0e6ec
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
if (params = Hash.toQueryString(params)) {
// when GET, append parameters to URL
if (this.method == 'get' && params)
if (this.method == 'get')
this.url += (this.url.include('?') ? '&' : '?') + params;
else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))
params += '&_=';