MDL-65908 assign: Revert overflow scroll fix
[moodle.git] / mod / assign / feedback / editpdf / yui / src / editor / js / annotationstamp.js
index 27a1cbd..88161a6 100644 (file)
@@ -49,9 +49,8 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
 
         position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
         node = Y.Node.create('<div/>');
-        // If these are absolutely positioned, they escape their scroll container.
         node.setStyles({
-            'position': 'relative',
+            'position': 'absolute',
             'display': 'inline-block',
             'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
             'width': (this.endx - this.x),