Skip to content

Commit f127d15

Browse files
xssfoxTheSkorm
authored andcommitted
upper case fixes for #404
1 parent 6ee7514 commit f127d15

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

js/app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ function load_hash(no_refresh) {
128128
}
129129
break;
130130
case "f":
131+
v = v.toUpperCase();
131132
refocus = (follow_vehicle != v);
132133
follow_vehicle = v;
133134
def.focus = v;
@@ -137,6 +138,7 @@ function load_hash(no_refresh) {
137138
if(modeList.indexOf(def.mode) == -1) def.mode = (is_mobile) ? modeDefaultMobile : modeDefault;
138139
break;
139140
case "q":
141+
v = v.toUpperCase();
140142
def.query = v;
141143
$("header .search input[type='text']").val(v);
142144
break;
@@ -1074,7 +1076,8 @@ $(window).ready(function() {
10741076
$("header .search form").on('submit', function(e) {
10751077
e.preventDefault();
10761078

1077-
var text = $("header .search input[type='text']").val();
1079+
var text = $("header .search input[type='text']").val().toUpperCase();
1080+
$("header .search input[type='text']")[0].value = text; // update field in case it wasn't already uppercase
10781081

10791082
if(text === wvar.query) return;
10801083

js/station.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,6 @@ function launchSitePredictions(times, station, properties, marker, id) {
705705
}
706706
}
707707

708-
//VK6DI Changes
709708
function plotPrediction (data, dates, marker, properties) {
710709
if (!launchPredictions.hasOwnProperty(marker)) {
711710
launchPredictions[marker] = {};

0 commit comments

Comments
 (0)