summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2009-11-09 21:51:15 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2009-11-09 21:51:15 +0100
commit986e17262a17aa2c2059bc3be25a18b43deb712e (patch)
tree5ea2be145b69cd28fc8750e6c49fd5b32ac1f8e6
parente24f61a2bb61c2445cb205777f897415e86fc10e (diff)
incorrect variable name in the smiley helper js
-rw-r--r--system/helpers/smiley_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/smiley_helper.php b/system/helpers/smiley_helper.php
index f085e53b1..ab1f2c27e 100644
--- a/system/helpers/smiley_helper.php
+++ b/system/helpers/smiley_helper.php
@@ -93,7 +93,7 @@ if ( ! function_exists('smiley_js'))
el.setSelectionRange(newStart, newStart);
}
else if (document.selection) {
- document.selection.createRange().text = text;
+ document.selection.createRange().text = smiley;
}
}
EOF;