Removed unused function argument.

This commit is contained in:
WrinklyNinja
2014-07-21 11:19:15 +01:00
parent 68f416d05f
commit 89904bff01
+1 -1
View File
@@ -380,7 +380,7 @@ var messageDialogProto = Object.create(HTMLDialogElement.prototype, {
showModal: {
/* A type of 'error' or 'info' produces an 'OK'-only dialog box. */
value: function(type, title, text, onClose) {
value: function(type, title, text) {
this.querySelector('h1').textContent = title;
this.querySelector('p').textContent = text;