diff --git a/Source/Interface/Mask.js b/Source/Interface/Mask.js index b301bb1a..86171ffc 100644 --- a/Source/Interface/Mask.js +++ b/Source/Interface/Mask.js @@ -49,7 +49,7 @@ var Mask = new Class({ }, initialize: function(target, options){ - this.target = document.id(target) || document.body; + this.target = document.id(target) || document.id(document.body); this.target.store('mask', this); this.setOptions(options); this.render();