mirror of
https://github.com/google/material-design-lite.git
synced 2024-10-26 13:11:30 +03:00
Small fix for snackbar sample. Fixes #4041
This commit is contained in:
parent
86608b2c81
commit
7307ff04c9
@ -14,7 +14,6 @@
|
||||
event.target.style.backgroundColor = '#'+Math.floor(Math.random()*16777215).toString(16);
|
||||
var handler = function(event) {
|
||||
document.querySelector('#demo-show-snackbar').style.backgroundColor = '';
|
||||
event.target.disabled = true;
|
||||
};
|
||||
var data = {
|
||||
message: 'Button color changed.',
|
||||
|
Loading…
Reference in New Issue
Block a user