Skip to content

Commit d2d4955

Browse files
committed
Switched the only !! we had to Boolean.
1 parent 9bc2412 commit d2d4955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-scripts/overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var Overlay = function()
1818

1919
this.__defineGetter__("is_visible", function()
2020
{
21-
return !!(this.element && this.element.parentNode);
21+
return Boolean(this.element && this.element.parentNode);
2222
});
2323

2424
this.show = function(id)

0 commit comments

Comments
 (0)