[wp-trac] [WordPress Trac] #46948: Twenty Nineteen - JS error on mobile menu when no visible items

WordPress Trac noreply at wordpress.org
Tue Apr 16 18:51:32 UTC 2019


#46948: Twenty Nineteen - JS error on mobile menu when no visible items
-------------------------------+------------------------------
 Reporter:  anevins            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Bundled Theme      |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by desrosj):

 * keywords:   => reporter-feedback


Comment:

 @anevins can you provide some more steps to recreate this? The error noted
 on the support ticket is

 `Uncaught TypeError: Failed to execute ‘insertBefore’ on ‘Node’: parameter
 1 is not of type ‘Node’. at prependElement (priority-menu.js:47)`

 I am only able to trigger the following similar but different error when
 the screen size is less than about 100 pixels wide: `TypeError: Argument 1
 of Node.insertBefore is not an object.`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46948#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list