Bug Tracker

Ticket #6673 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

$("body").wrapInner("<div id='wrapper'></div>") results in blank screen.

Reported by: sharad.banka@… Owned by:
Priority: undecided Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: wrapInner Cc:
Blocking: Blocked by:

Description

On most of the pages which has scripts $("body").wrapInner("<div id='wrapper'></div>") command results in blank screen.

Change History

comment:1 Changed 4 years ago by addyosmani

  • need changed from Review to Test Case
  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to invalid

In order to correctly see output when using .wrapInner() you will need to ensure that the containing page actually has content on it that is visible (for example text or other valid elements). In addition, you may not be defining specific CSS styles for the element you are inwardly-wrapping (ie. 'wrapper'), which would result in no visible changes (at least on-screen).

Please re-submit your ticket with a valid test case so that we can look into this further.

Note: See TracTickets for help on using tickets.