]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/js/chloro.js
move inline style popup after <body>
[chloro.git] / chloro / phyll / static / js / chloro.js
index 8daedea8d7db26a555c4776c588c542881fc64cf..b5ae3134f5042660ba6f2f37282fedacc330491d 100644 (file)
       style_popup = $('<div class="inline-style-popup">' +
                       '<button data-action="italic"><i>i</i></button>' +
                       '<button data-action="bold"><b>b</b></button>' +
-                      '<button data-action="code">#</button>' +
+                      '<button data-action="code">&lt;&gt;</button>' +
                       '<button data-action="removeFormat">×</button>' +
                       '<button data-action="createLink">a</button>' +
                       '<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);
     }