[wp-meta] [Making WordPress.org] #3119: Menu link is not working
Making WordPress.org
noreply at wordpress.org
Mon Sep 11 10:00:56 UTC 2017
#3119: Menu link is not working
-------------------------+------------------
Reporter: mitraval192 | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: Trac | Resolution:
Keywords: |
-------------------------+------------------
Changes (by SergeyBiryukov):
* component: General => Trac
Comment:
Confirmed. The mobile menu works on wordpress.org and make.wordpress.org,
but not on Trac instances, because the `toggleMenu()` function is missing
there.
Adding it to [browser:sites/trunk/trac.wordpress.org/templates/wporg-
head.html trac.wordpress.org/templates/wporg-head.html] should resolve the
issue:
{{{
<script type="text/javascript">
var toggleMenu = function(){
var m = document.getElementById('wporg-header-menu'),
c = m.className;
m.className = c.match( ' active' ) ? c.replace( ' active', ''
) : c + ' active';
}
</script>
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3119#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list