From e8d23b1d0e53e9412da93a575099e423f48c8a00 Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Mon, 30 Jan 2012 15:10:53 -0500 Subject: [PATCH] Trackster: more object-specific equality operators. --- static/scripts/trackster.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/static/scripts/trackster.js b/static/scripts/trackster.js index c4946d56a35..00d3973027c 100644 --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -1852,7 +1852,7 @@ var Tool = function(track, tool_dict) { this.params[this.params.length] = new NumberParameter(name, label, html, value, param_dict.min, param_dict.max); } - else if (type == "select") { + else if (type === "select") { this.params[this.params.length] = new ToolParameter(name, label, html, value); } else { @@ -2598,7 +2598,7 @@ extend(DrawableConfig.prototype, { } else if ( param.type === 'text' ) { row.append( $('').attr("id", id ).val(value).click( function() { $(this).select() })); // Draw paramter as select area - } else if ( param.type == 'select' ) { + } else if ( param.type === 'select' ) { var select = $('