diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-07-19 00:15:11 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-07-19 00:15:11 -0400 |
| commit | 4e50a860ebed89cd59b53bac7a5af16f4b59e941 (patch) | |
| tree | 7054cda72f43671c640d355d853153d481d62519 /static/js | |
| parent | 5d382f94814b4d4515932f4b517a566089a99855 (diff) | |
fix search not workings... i guess newer browsers have String.prototype.trim already
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index ef34015..38e5405 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -49,6 +49,8 @@ isEmptyObject = function(obj) { return true } +String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g,'') } + function isCSSPropertySupported(prop){ return prop in document.body.style } |
