Skip to content

Commit

Permalink
Fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed Apr 18, 2016
1 parent 1d7b8ec commit 628bc13
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
16 changes: 0 additions & 16 deletions js/highstock.src.js
Expand Up @@ -23514,22 +23514,6 @@
input,
label,
dateBox,
inputGroup = this.inputGroup,
updateExtremes = function () {
var inputValue = input.value,
value = (options.inputDateParser || Date.parse)(inputValue),
xAxis = chart.xAxis[0],
dataMin = xAxis.dataMin,
dataMax = xAxis.dataMax;
if (value !== input.previousValue) {
input.previousValue = value;
// If the value isn't parsed directly to a value by the browser's Date.parse method,
// like YYYY-MM-DD in IE, try parsing it a different way
if (isNaN(value)) {
value = inputValue.split('-');
value = Date.UTC(pInt(value[0]), pInt(value[1]) - 1, pInt(value[2]));
}

inputGroup = this.inputGroup;

function updateExtremes() {
Expand Down
16 changes: 0 additions & 16 deletions js/parts/RangeSelector.js
Expand Up @@ -447,22 +447,6 @@ RangeSelector.prototype = {
input,
label,
dateBox,
inputGroup = this.inputGroup,
updateExtremes = function () {
var inputValue = input.value,
value = (options.inputDateParser || Date.parse)(inputValue),
xAxis = chart.xAxis[0],
dataMin = xAxis.dataMin,
dataMax = xAxis.dataMax;
if (value !== input.previousValue) {
input.previousValue = value;
// If the value isn't parsed directly to a value by the browser's Date.parse method,
// like YYYY-MM-DD in IE, try parsing it a different way
if (isNaN(value)) {
value = inputValue.split('-');
value = Date.UTC(pInt(value[0]), pInt(value[1]) - 1, pInt(value[2]));
}

inputGroup = this.inputGroup;

function updateExtremes() {
Expand Down

0 comments on commit 628bc13

Please sign in to comment.