Skip to content

Commit

Permalink
Use a className in demo/marker.html
Browse files Browse the repository at this point in the history
Should help trigger #836, and is cleaner anyway.
  • Loading branch information
marijnh committed Sep 20, 2012
1 parent 52e9b0a commit 7c2f744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions demo/complete.html
Expand Up @@ -10,8 +10,6 @@
<script src="../lib/util/javascript-hint.js"></script>
<script src="../mode/javascript/javascript.js"></script>
<link rel="stylesheet" href="../doc/docs.css">
<style type="text/css">
</style>
</head>
<body>
<h1>CodeMirror: Autocomplete demo</h1>
Expand Down
3 changes: 2 additions & 1 deletion demo/marker.html
Expand Up @@ -10,6 +10,7 @@

<style type="text/css">
.breakpoints {width: .8em;}
.breakpoint { color: #822; }
.CodeMirror {border: 1px solid #aaa;}
</style>
</head>
Expand All @@ -28,8 +29,8 @@ <h1>CodeMirror: Breakpoint demo</h1>

function makeMarker() {
var marker = document.createElement("div");
marker.style.color = "#822";
marker.innerHTML = "●";
marker.className = "breakpoint";
return marker;
}
</textarea></form>
Expand Down

0 comments on commit 7c2f744

Please sign in to comment.