Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit dd2c8a9

Browse files
devversionkara
authored andcommitted
fix(menu): menu content should inherit theme (#10217)
1 parent a169f6f commit dd2c8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/menu/js/menuServiceProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function MenuProvider($$interimElementProvider) {
117117

118118
if (opts.menuContentEl[0]) {
119119
// Inherit the theme from the target element.
120-
$mdTheming(opts.menuContentEl, opts.target);
120+
$mdTheming.inherit(opts.menuContentEl, opts.target);
121121
} else {
122122
$log.warn(
123123
'$mdMenu: Menu elements should always contain a `md-menu-content` element,' +

0 commit comments

Comments
 (0)