[wp-trac] [WordPress Trac] #33509: customize-control.js : $.contains( document, this.container ) always returns false

WordPress Trac noreply at wordpress.org
Sat Aug 22 14:45:56 UTC 2015


#33509: customize-control.js : $.contains( document, this.container ) always
returns false
--------------------------+-----------------------------------------
 Reporter:  nikeo         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by BinaryKitten):

 Hi @nikeo,

 Just a quick reply. I don't think there is much major difference, but it
 would be my preference to use .get instead of array access - which is,
 just my preference. There is nothing more than that to it.

 Both are valid, and I'm not speaking from authority just as another
 user/developer.

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


More information about the wp-trac mailing list