[wp-trac] [WordPress Trac] #33143: Twenty Fifteen uses jQuery window.width() - which is not synced with used media queries

WordPress Trac noreply at wordpress.org
Sat Feb 6 22:55:34 UTC 2016


#33143: Twenty Fifteen uses jQuery window.width() - which is not synced with used
media queries
---------------------------+------------------------------
 Reporter:  th23           |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  4.2.3
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  javascript
---------------------------+------------------------------

Comment (by davidakennedy):

 Hey @th23,

 Thanks for the ticket. I was playing around with this, trying to
 understand the issue better. The measurements appear to match across
 browsers and be consistent to me. But I could be misunderstanding. Could
 you:

 * provide some screenshots or video illustrating the problem.
 * point to exactly where in the CSS or JS the problems are. Is it all
 occurrences of  `$window.width()`?

 That would help me understand this better so I can possibly get a fix in
 place for it. Thanks again!

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


More information about the wp-trac mailing list