Opened 13 years ago
Closed 13 years ago
#26088 closed defect (bug) (fixed)
Fix the JS structure of sticky menu
| Reported by: | azaozz | Owned by: | azaozz |
|---|---|---|---|
| Priority: | low | Milestone: | 3.8 |
| Component: | Administration | Version: | 3.8 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: | ui |
Description
stickyMenu (in common.js) seems to be suffering from scope problems, nearly all lines start with this. There are better JS structures that can be used for it, for example a simple revealing pattern would work nicely.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Updated script using module revealing pattern