Skip to content

Commit

Permalink
Explicit value="" for a language select
Browse files Browse the repository at this point in the history
The selector in developer.html didn't select '(Auto)' upon restoring
state from the local storage. This later lead to a crash from passing
a null value to `getLanguages`.
  • Loading branch information
isagalaev committed Sep 1, 2015
1 parent dfb4ab0 commit 39397da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/developer.html
Expand Up @@ -32,7 +32,7 @@ <h1>highlight.js developer</h1>
<textarea>Put code here…</textarea>
<p>
<button>Update highlighting</button>
Language: <select class="languages"><option>(Auto)</option></select>
Language: <select class="languages"><option value="">(Auto)</option></select>
</p>
</div>
<div>
Expand Down

0 comments on commit 39397da

Please sign in to comment.