]> git.0d.be Git - chloro.git/commitdiff
move inline style popup after <body>
authorFrédéric Péters <fpeters@0d.be>
Sun, 7 Jun 2020 19:28:49 +0000 (21:28 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 7 Jun 2020 19:28:49 +0000 (21:28 +0200)
chloro/phyll/static/js/chloro.js

index 781836f0c50aea826a670179da9340b3cdfff047..b5ae3134f5042660ba6f2f37282fedacc330491d 100644 (file)
                       '<input name="link-target"/>' +
                       '</div>');
       style_popup.hide();
                       '<input name="link-target"/>' +
                       '</div>');
       style_popup.hide();
-      style_popup.insertAfter($('.actions'));
+      style_popup.insertAfter(document.body);
       style_popup.find('button').on('click', update_style);
       style_popup.find('[name=link-target]').on('keypress', validate_link).on('focusout', focusout_link);
     }
       style_popup.find('button').on('click', update_style);
       style_popup.find('[name=link-target]').on('keypress', validate_link).on('focusout', focusout_link);
     }