Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 84e3cb4

Browse files
committed
Changing '<>' link to boxed '?'
1 parent ca9b0f1 commit 84e3cb4

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

src/extensions/default/JavaScriptCodeHints/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ define(function (require, exports, module) {
274274

275275
function _appendLink() {
276276
if (token.url) {
277-
$('<a><&nbsp;></a>').appendTo($hintObj).addClass("jshint-link").attr('href', token.url).on("click", function (event) {
277+
$('<a></a>').appendTo($hintObj).addClass("jshint-link").attr('href', token.url).on("click", function (event) {
278278
event.stopImmediatePropagation();
279279
event.stopPropagation();
280280
});

src/extensions/default/JavaScriptCodeHints/styles/brackets-js-hints.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,18 @@ span.brackets-js-hints {
181181
.jshint-link {
182182
float:right;
183183
display:none;
184-
color:orangered !important;
185-
margin:0px !important;
186184
margin-right: 10px !important;
187-
padding:0px !important;
188-
font-weight: 900 !important;
185+
}
186+
187+
.jshint-link:before {
188+
float: right;
189+
color: orangered !important;
190+
content: '?' !important;
191+
border: 1px orangered solid;
192+
width: 10px;
193+
text-align: center;
194+
line-height: 1em;
195+
visibility: visible !important;
189196
}
190197

191198
.highlight .jshint-link {

0 commit comments

Comments
 (0)