Permalink
Browse files

Fixing a javascript error with righthand assignment.

  • Loading branch information...
1 parent 26fdc18 commit 3942cce995b283cb67532c937433839d35adf745 @jhnlsn committed Aug 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 parent.js
View
@@ -26,7 +26,7 @@
if(matches.length = 1){
strD = e.data + "";
r = strD.match(/^(\d+)(s?)$/);
- if(r && r.length = 3){
+ if(r && r.length == 3){
height = parseInt(r[1]);
if (!isNaN(height)) {
try {

0 comments on commit 3942cce

Please sign in to comment.