Permalink
Browse files

Always use Yoda conditionals to spot errors...

  • Loading branch information...
1 parent 91b04c1 commit a734c9401b3248a7e63f752a2006d16104f82aeb @tuupola committed Mar 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 qellkaks/js/qellkaks.js
View
@@ -118,7 +118,7 @@ Qlock.method("words", function() {
hours = hours - 12;
}
- if (hours = 12) {
+ if (12 == hours) {
hours = 0;
}

0 comments on commit a734c94

Please sign in to comment.