godswearhats / jquery-ui-rotatable

Adds a small handle to an HTML element to allow it to be rotated
MIT License
155 stars 103 forks source link

Rotatable breaks if initialized with angle : 0 #4

Closed harfyt closed 10 years ago

harfyt commented 10 years ago

Initialized with option angle : 0 and rotatable stopped woking.

However I found a working fix.

In line 37
change this if(this.options.angle != false)

TO THIS if(this.options.angle !== false)

godswearhats commented 10 years ago

This is not reproducible any more.