Permalink
Browse files

Update freezeframe.js

I believe `return errors == 0` and `return errors == 0 ? true : false` return always same result. 
Cheers.
  • Loading branch information...
hckrmoon committed Dec 9, 2016
1 parent f75ad95 commit 1d7616079c0843555fc977e2ddba5ac8307630c9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/js/freezeframe.js
View
@@ -300,7 +300,7 @@ var freezeframe = (function($) {
});
- return errors == 0 ? true : false;
+ return errors == 0;
}
//////////////////////////////////////////////////////////////////////////////
@@ -361,4 +361,4 @@ $.fn.freezeframe = function(_options) {
});
return this;
-};
+};

0 comments on commit 1d76160

Please sign in to comment.