From 6bc473afc1353e08b62ac0e49e4007dbcc0dba82 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 18 Jul 2011 11:00:26 -0400 Subject: [PATCH] Address minor code formatting consistency The rest of the code has spaces around the conditional clause in an if() statement, so do likewise here. Signed-off-by: Dan Scott --- Open-ILS/xul/staff_client/server/cat/spine_labels.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/spine_labels.js b/Open-ILS/xul/staff_client/server/cat/spine_labels.js index 22b64caf56..f9936153a3 100644 --- a/Open-ILS/xul/staff_client/server/cat/spine_labels.js +++ b/Open-ILS/xul/staff_client/server/cat/spine_labels.js @@ -170,8 +170,8 @@ /* take the call number and split it on whitespace */ callnum = String(volume.label()); } - /* handle spine lables differently if using LC */ - if(volume.label_class() == 3){ + /* handle spine labels differently if using LC */ + if (volume.label_class() == 3) { /* for LC, split between classification subclass letters and numbers */ var lc_class_re = /^([A-Z]{1,3})([0-9]+.*?)$/i; var lc_class_match = lc_class_re.exec(callnum); -- 2.11.0