summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-08-23 12:29:05 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2012-08-23 13:49:09 +0100
commit20dbbbe91db64b6b14301d2823a5aafbec87d360 (patch)
tree8bf8bf30b4c17ce1b9c07a54421d040774d8c164
parent241f109a66916bb4a5a8d3caa2167895e87b04ec (diff)
downloadmupdf-20dbbbe91db64b6b14301d2823a5aafbec87d360.tar.xz
Forms: fix typo in javascript utility functions
-rw-r--r--pdf/pdf_util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_util.js b/pdf/pdf_util.js
index 63e8f09f..536016b9 100644
--- a/pdf/pdf_util.js
+++ b/pdf/pdf_util.js
@@ -608,7 +608,7 @@ function AFNumber_Format(nDec,sepStyle,negStyle,currStyle,strCurrency,bCurrencyP
}
if (negStyle&1)
- event.target.textColor = /-/.text(val) ? color.red : color.black;
+ event.target.textColor = /-/.test(val) ? color.red : color.black;
event.value = intpart;
}