Notice-Updated div moving around unprompted

I have a div.notice.updated that is moving on the DOM and I can't locate the code that's doing that. Disabled all plugins and changed to a default theme without results.

I'm printing the element on the main content block and it jumps to the sidebar after the page finishes loading (it's clearly jQuery in action):

div class=notice updatedForm sent/div

I'm using Frank Bueltge's Admin Style plugin to get standard WP HTML code for the backend.

Topic admin-css jquery wp-admin Wordpress

Category Web


Searching for .notice on WP source code I found the culprit at wp-admin/js/common.js:

$( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $headerEnd );

Adding an inline class to my code solves the issue:

<div class="notice updated inline">Form sent</div>

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.