[chrome-gnome-shell] options: allow html in error messages.



commit 754f214cbd7f356a8262901bd87cc634bf5abdec
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Wed Mar 8 23:01:08 2017 +0400

    options: allow html in error messages.
    
    Fixes: https://github.com/nE0sIghT/chrome-gnome-shell-mirror/issues/39

 extension/options.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extension/options.js b/extension/options.js
index 32e3f0c..7e1266a 100644
--- a/extension/options.js
+++ b/extension/options.js
@@ -49,7 +49,7 @@ function save_options()
                                                });
                                        }).fail(function (message) {
                                                $('#error')
-                                                       .text(message)
+                                                       .html(message)
                                                        .show()
                                                        .delay(15000)
                                                        .hide(250);
@@ -252,7 +252,7 @@ function updateSynchronizationStatus()
                });
        }).fail(function (message) {
                $('#error')
-                       .text(message)
+                       .html(message)
                        .show()
                        .delay(15000)
                        .hide(250);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]