antw/quinn — Issue #3: Using multiple values with "only: [...]" allows illegal values.
Author: antw
Created: 2011-12-08 16:56:32+00:00
State: open

```javascript
$(...).quinn({
value: [ 25, 75 ],
only: [ 10, 35, 75, 90 ]
});
```

Moving the upper handle allows "26" to be selected since `setValue` [doesn't sanitise the `newValue`](https://github.com/antw/quinn/blob/7180e4800f41661acfdf1234c25ccaa8592c830a/jquery.quinn.js#L749-759) before setting it. I also suspect that initialising the slider with values not in the `only` array will also set them without sanitising first.