Remove unfinished light/dark theme switching code.

pull/3/head
Dominic Clifton 9 years ago
parent 6f853cbc0a
commit ea2d59f4fb

@ -3,8 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="cTn" />
<!--link type="text/css" rel="stylesheet" href="./main2.css" media="all" /-->
<link type="text/css" rel="stylesheet" href="./main.css" media="all" id="default" />
<link type="text/css" rel="stylesheet" href="./main.css" media="all"/>
<link type="text/css" rel="stylesheet" href="./js/libraries/jquery.nouislider.min.css" />
<link type="text/css" rel="stylesheet" href="./js/libraries/jquery.nouislider.pips.min.css" />
<link type="text/css" rel="stylesheet" href="./js/libraries/flightindicators.css" />

@ -238,20 +238,6 @@ $(document).ready(function () {
googleAnalyticsConfig.setTrackingPermitted(check);
});
// CSS switch TEST
var css = $("#default");
$("div#options-window #remove").click(function(){
css.remove();
});
$("div#options-window #restore").click(function(){
$("head").append(css);
});
// CSS switch TEST END
function close_and_cleanup(e) {
if (e.type == 'click' && !$.contains($('div#options-window')[0], e.target) || e.type == 'keyup' && e.keyCode == 27) {
$(document).unbind('click keyup', close_and_cleanup);

@ -4,8 +4,3 @@
<div class="statistics">
<label><input type="checkbox" /><span i18n="options_improve_configurator"></span></label>
</div>
<div class="appearance" style="display: none;">
<label> <input type="radio" name="RadioGroup1" value="1" id="restore"> Dark Theme
</label> <br> <label> <input type="radio" name="RadioGroup1" value="2" id="remove"> Light Theme
</label>
</div>
Loading…
Cancel
Save