From c7e40ab6c132a3a93340b77bb0adcf97de386f58 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 5 Feb 2017 16:14:57 +1300 Subject: [PATCH] whitespace --- client/dcwebui.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/dcwebui.js b/client/dcwebui.js index 700a895..9a08edd 100644 --- a/client/dcwebui.js +++ b/client/dcwebui.js @@ -22,9 +22,11 @@ var $ = (document.querySelectorAll ? ); var nmdc_escape = function(str) { - return (''+str).length ? (''+str). - replace(/&/g,'&').replace(/\|/g,'|').replace(/\$/g,'$') : - ' '; + return ( + (''+str).length + ? (''+str).replace(/&/g,'&').replace(/\|/g,'|').replace(/\$/g,'$') + : ' ' + ); }; var hesc = function(s) {