commit/galaxy-central: jgoecks: Fix bug in showing/hiding filters in Trackster.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/356aa8a00cfd/ changeset: 356aa8a00cfd user: jgoecks date: 2012-05-30 15:39:59 summary: Fix bug in showing/hiding filters in Trackster. affected #: 1 file diff -r 3dd591f01f6aae374142a62c25db98bacae5c4e3 -r 356aa8a00cfdd8c1d29f7065601f55120d241005 static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -2598,8 +2598,10 @@ * Update filter's slider. */ update_ui_elt: function () { - // Only show filter if min != max because filter is not useful otherwise. - if (this.min !== this.max) { + // Only show filter if min < max because filter is not useful otherwise. This + // covers all corner cases, such as when min, max have not been defined and + // when min == max. + if (this.min < this.max) { this.parent_div.show(); } else { Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket