diff --git a/resources/report/html/loot-message-dialog.html b/resources/report/html/loot-message-dialog.html
index 01e52b22..5e7c32e6 100644
--- a/resources/report/html/loot-message-dialog.html
+++ b/resources/report/html/loot-message-dialog.html
@@ -13,6 +13,7 @@ was pressed.
-->
+
@@ -50,15 +51,15 @@ was pressed.
showModal: function(title, text, closeCallback) {
this.heading = title;
- this.querySelector('#message').textContent = text;
+ this.querySelector('.message').textContent = text;
this.closeCallback = closeCallback;
this.super();
},
- ready: function() {
+ created: function() {
var p = document.createElement('p');
- p.id = 'message';
+ p.className = 'message';
this.appendChild(p);
var accept = document.createElement('paper-button');