(function($) { 'use strict'; var init = function (context) { // move the description object up to the container with the text area so that // the hover css correctly applies to it without interfering with other fields var $el = $('.page-content #body-add-more-wrapper .text-format-wrapper > .description'); $el.appendTo($el.siblings('.form-type-textarea')); }; // use Drupal behaviors to attach this module Drupal.behaviors.osfFixDescHover = { 'attach': init }; })(jQuery);