From 3ee6c52036d3634cb2dc1d62f84d1edabf24d049 Mon Sep 17 00:00:00 2001 From: Anna Sobiepanek Date: Tue, 5 Oct 2010 14:49:38 -0400 Subject: [PATCH] added typeof fix [#101 state:peer-review-requested] --- popcorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popcorn.js b/popcorn.js index ea3142f..5f1d871 100644 --- a/popcorn.js +++ b/popcorn.js @@ -739,7 +739,7 @@ //L10n var src = this.params.src; var lang = this.params.lang; - if (lang === undefined) {lang="en";} + if (typeof lang === "undefined") { lang="en"; } //end L10n var length = this.params.numberOfWords; // Setup a default, hidden div to hold the images -- 2.43.0