jejacks0n/mercury — Issue #137: Cannot use mercury_loader.js with visible=false
Author: shadowhand
Created: 2012-01-19 18:14:30+00:00
State: open

Because Mercury expects that `options.visible` [is a boolean](https://github.com/jejacks0n/mercury/blob/master/public/mercury/javascripts/mercury.js#L13435), it is not possible to use `mercury_loader.js?visible=false` and have the editor be hidden by default, as the value will be a string. One solution would be to parse the options in `mercury_loader.js`, which is probably not good. Another solution would be to replace that block of code with:

```js
this.options.visible = ! (this.options.visible === 'no' || this.options.visible === false);
```