From: ScottDowne Date: Wed, 13 Oct 2010 16:06:47 +0000 (-0400) Subject: readded default number of words for wiki X-Git-Tag: v0.1~22 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=80ee018aba3e554bb330b6f0e9ebe4333c555b38;p=popcorn-js.git readded default number of words for wiki --- diff --git a/popcorn.js b/popcorn.js index 3eb16f0..4c23907 100644 --- a/popcorn.js +++ b/popcorn.js @@ -820,7 +820,7 @@ var lang = this.params.lang; if (typeof lang === 'undefined') {lang="en";} //end L10n - var length = this.params.numberOfWords; + var length = this.params.numberOfWords || 200; // Setup a default, hidden div to hold the images var target = document.createElement('div'); target.setAttribute('id', this.id);