summaryrefslogtreecommitdiffstats
path: root/web/statusbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/statusbar.js')
-rw-r--r--web/statusbar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/statusbar.js b/web/statusbar.js
index 3488772..28e5ba4 100644
--- a/web/statusbar.js
+++ b/web/statusbar.js
@@ -3,10 +3,10 @@
* See LICENSE file for license details
*/
-define(["jquery"], function($) {
+define(["acf2/dom", "jquery"], function(dom, $) {
function set(status, msg, mode) {
$("#status").prop("class", status);
- $("#status p").text(msg);
+ dom.setText($("#status p"), msg);
$("#logout").prop("class", mode ? "hidden" : null);
$("#status div").prop("class", mode == "txn" ? null : "hidden");
$("#commit").prop("disabled", status == "invalid");