diff --git a/src/main/resources/templates/chatoverlay.html b/src/main/resources/templates/chatoverlay.html index 9201ca2..903bfec 100644 --- a/src/main/resources/templates/chatoverlay.html +++ b/src/main/resources/templates/chatoverlay.html @@ -38,7 +38,7 @@ result.rolls.forEach(roll => { values.push(roll.value); }) - document.getElementById('results').innerHTML = '' + message + ': [' + values.map(value => value === 1 ? '' + value + '' : value === result.sides ? '' + value + '' : value).join(' + ') + (result.modifier > 0 ? ' +' + result.modifier + '' : result.modifier < 0 ? ' ' + result.modifier + '' : '') + '] = ' + result.value + ' ' + document.getElementById('results').innerHTML = '' + user + ' rolls ' + message + ':
[' + values.map(value => value === 1 ? '' + value + '' : value === result.sides ? '' + value + '' : value).join(' + ') + (result.modifier > 0 ? ' +' + result.modifier + '' : result.modifier < 0 ? ' ' + result.modifier + '' : '') + '] = ' + result.value + ' ' }) document.getElementById('results').showPopover() setTimeout(() => { diff --git a/src/main/resources/templates/chatoverlayconfig.html b/src/main/resources/templates/chatoverlayconfig.html index 3d56752..b575b73 100644 --- a/src/main/resources/templates/chatoverlayconfig.html +++ b/src/main/resources/templates/chatoverlayconfig.html @@ -38,8 +38,8 @@
- - + +
- +
@@ -65,7 +65,7 @@ - +