Another round of bug fixes.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash disable=SC2034,SC2154
|
||||
|
||||
pkgname=skald-git
|
||||
pkgver=0.0.0.r1542.ge73eb21
|
||||
pkgver=0.0.0.r1543.g8ff3161
|
||||
pkgrel=1
|
||||
pkgdesc='Audio-only hall-based conferencing server'
|
||||
arch=('x86_64' 'aarch64')
|
||||
|
||||
+3
-2
@@ -2681,8 +2681,9 @@ let chalkboardLocalTextPending = null;
|
||||
let chalkboardText = '';
|
||||
|
||||
function getChalkboardEditor() {
|
||||
return /** @type {HTMLTextAreaElement} */
|
||||
(document.getElementById('chalkboard'));
|
||||
return /** @type {HTMLTextAreaElement} */ (
|
||||
document.getElementById('chalkboard')
|
||||
);
|
||||
}
|
||||
|
||||
function getChalkboardView() {
|
||||
|
||||
@@ -82,6 +82,7 @@ func TestChalkboardReadOnlyViewIsNotAnEditBox(t *testing.T) {
|
||||
requireContains(t, html, `<pre id="chalkboard-view" tabindex="0" role="region" aria-labelledby="chalkboard-heading" hidden>`, "chalkboard view")
|
||||
requireContains(t, css, "white-space: pre-wrap", "chalkboard view")
|
||||
requireContains(t, css, "#chalkboard[hidden]", "chalkboard hidden state")
|
||||
requireFunctionContains(t, js, "getChalkboardEditor", "return /** @type {HTMLTextAreaElement} */ (")
|
||||
requireFunctionContains(t, js, "setChalkboardText", "view.textContent = text")
|
||||
requireFunctionContains(t, js, "updateChalkboardAccess", "editor.hidden = !canEdit")
|
||||
requireFunctionContains(t, js, "updateChalkboardAccess", "view.hidden = canEdit")
|
||||
|
||||
Reference in New Issue
Block a user