Skip to content
Browse files

Removed redundant "new".

  • Loading branch information...
1 parent 81c3e6a commit 2d44e9ced217aab7eeed572394f84456741b4698 @kpozin committed Apr 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.ajaxprogress.js
View
2 jquery.ajaxprogress.js
@@ -10,7 +10,7 @@
(function($) {
// Test whether onprogress is supported
- var support = $.support.ajaxProgress = ("onprogress" in (new $.ajaxSettings.xhr()));
+ var support = $.support.ajaxProgress = ("onprogress" in $.ajaxSettings.xhr());
// If it's not supported, we can't do anything
if (!support) {

0 comments on commit 2d44e9c

Please sign in to comment.
Something went wrong with that request. Please try again.