Skip to content

Commit

Permalink
Fixed the Blue Screen in Google Chrome 17+
Browse files Browse the repository at this point in the history
  • Loading branch information
JustBlackBird authored and inspirer committed Mar 12, 2012
1 parent 8c69f5a commit d0bd084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/messenger/webim/js/164/common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/messenger/webim/js/source/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function playSound(wav_file) {
player.style = "position: absolute; left: 0px; top: -200px;";
}
document.body.appendChild(player);
player.innerHTML = '<embed src="'+wav_file+'" hidden="true" autostart="true" loop="false">';
player.innerHTML = '<audio autoplay src="'+wav_file+'"><embed src="'+wav_file+'" hidden="true" autostart="true" loop="false"></audio>';
}

function htmlescape(str) {
Expand Down

0 comments on commit d0bd084

Please sign in to comment.