diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 972c183a2..95d4544b5 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -1102,7 +1102,7 @@ function doRandomChat() { } async function doMesCut(_, text) { - + console.debug(`was asked to cut message id #${text}`) //reject invalid args or no args if (text && isNaN(text) || !text) { toastr.error(`Must enter a single number only, non-number characters disallowed.`) @@ -1110,7 +1110,7 @@ async function doMesCut(_, text) { } //reject attempts to delete firstmes - if (text === 0) { + if (text === '0') { toastr.error('Cannot delete the First Message') return } diff --git a/public/style.css b/public/style.css index 96a2a38c5..f6d8c00a9 100644 --- a/public/style.css +++ b/public/style.css @@ -454,6 +454,13 @@ hr { z-index: 30; } +/* special case for desktop Safari to allow #sheld resizing */ +@media only screen and (min-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: fine) { + #form_sheld { + margin-bottom: 5px; + } +} + #send_form { display: flex; flex-wrap: wrap;