Skip to content

Commit

Permalink
WET-BOEW Menu plugin: removed stray div end-tag
Browse files Browse the repository at this point in the history
createMobilePanelMenu appends a div end-tag to its generated content,
but includes no associated div start-tag.  Mobile menu initialization 
fails when page is served as application/xhtml+xml
  • Loading branch information
oldhen committed Jun 22, 2016
1 parent 144547a commit 7b9019c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/menu/menu.js
Expand Up @@ -204,7 +204,7 @@ var componentName = "wb-menu",
sectionHtml + "</ul></nav>";
}

return panel.replace( /['"]?list-group-item['"]?/gi, "\"\"" ) + "</div>";
return panel.replace( /['"]?list-group-item['"]?/gi, "\"\"" );
},

/**
Expand Down

0 comments on commit 7b9019c

Please sign in to comment.