Skip to content
This repository was archived by the owner on Aug 13, 2018. It is now read-only.

Commit f0c3130

Browse files
committed
Better warning message
1 parent 4229582 commit f0c3130

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

data/components/no-service-warning.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ define(function(require, exports/*, module*/) {
88
const React = require("react");
99

1010
// Constants
11-
const {div, span, code, a } = React.DOM;
11+
const {div, span, code, a, b, br} = React.DOM;
1212

1313
/**
1414
* Used to display a warning if "@mozilla.org/websocketevent/service;1"
@@ -25,11 +25,11 @@ var NoServiceWarning = React.createClass({
2525
render: function() {
2626
return (
2727
div({className: "noServiceWarning"},
28-
span({}, "Your Firefox doesn't support "),
29-
code({}, "@mozilla.org/websocketevent/service;1"),
30-
span({}, " component that is required by this extension. " +
31-
"You need to install newer Firefox version. If you are unsure " +
32-
"what to do you might want see the "),
28+
span({}, "You need to install "),
29+
b({}, "Firefox 44+"),
30+
br({}),
31+
br({}),
32+
span({}, "If you are unsure what to do you might want see the "),
3333
a({className: "bugLink", target: "_blank",
3434
href: "https://github.com/firebug/websocket-monitor/wiki"},
3535
"home page"

0 commit comments

Comments
 (0)