Skip to content
Browse files

fixed: slider instance check should be a function and not a string.

  • Loading branch information...
1 parent 53ec339 commit 3d453480d3cc21218d3d35d62b383b8806937b47 @firnsy committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/listbox.js
View
2 js/listbox.js
@@ -226,7 +226,7 @@ var ListBox = Widget.extend({
add_slider: function(slider)
{
- if( slider instanceof 'Slider' )
+ if( slider instanceof Slider )
{
this.slider = slider;
this.slider.set_visibility(false);

0 comments on commit 3d45348

Please sign in to comment.
Something went wrong with that request. Please try again.