Skip to content

Commit c51f7a9

Browse files
committed
Merge branch 'develop'
* develop: set default and current layout when using defaultLayout()
2 parents 25883dd + 38e06c6 commit c51f7a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/mdKeyboard.provider.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function MdKeyboardProvider($$interimElementProvider, $injector, keyboardLayouts
6363
function defaultLayout(layout) {
6464
if (LAYOUTS[layout]) {
6565
DEFAULT_LAYOUT = layout;
66+
CURRENT_LAYOUT = layout;
6667
} else {
6768
if (layout.length) {
6869
var msg = "" +

0 commit comments

Comments
 (0)