summaryrefslogtreecommitdiff
path: root/common/content/template.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2009-02-09 16:18:10 -0500
committerKris Maglione <maglione.k@gmail.com>2009-02-09 16:18:24 -0500
commitc9c708f636e6f25a54c301c85911c420f81a9dba (patch)
tree7f5db3f72a8b679d2694aec7be85973ffbadbb20 /common/content/template.js
parentc5c5e90f0e31bc222adec24a1eb85c18fdf8c89d (diff)
downloadpentadactyl-c9c708f636e6f25a54c301c85911c420f81a9dba.tar.gz
Fix some bugs, generally.
Diffstat (limited to 'common/content/template.js')
-rw-r--r--common/content/template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/template.js b/common/content/template.js
index 981f72f8..b4f14bfd 100644
--- a/common/content/template.js
+++ b/common/content/template.js
@@ -133,9 +133,9 @@ const template = {
highlight: function highlight(arg, processStrings, clip)
{
// some objects like window.JSON or getBrowsers()._browsers need the try/catch
- let str = clip ? util.clip(String(arg), clip) : String(arg);
try
{
+ let str = clip ? util.clip(String(arg), clip) : String(arg);
switch (arg == null ? "undefined" : typeof arg)
{
case "number":