Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtill committed Jul 2, 2018
1 parent bfd091b commit 60582ee
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions views/index.tpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<!DOCTYPE html>

% import datetime

% showDateSelector = byCategory != 'year'

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Expand All @@ -16,7 +14,6 @@
<!-- <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> -->

<script class="code" type="text/javascript">
var windowWidth = null;
var plotData = null;
detailsParams["byCategory"] = "{{byCategory}}";
Expand Down Expand Up @@ -134,7 +131,7 @@ function doPlot() {
}
function refresh() {
doPlot();
inoutPlot();
}
function submitSettingsForm() {
Expand All @@ -145,13 +142,9 @@ function submitSettingsForm() {
}
$(document).ready(function() {
windowWidth=$(document).width();
// $(window).resize(function(){
// if ($(document).width() != windowWidth) {
// doPlot();
// }
// });
$(window).resize(function() {
refresh();
});
storeDates();
doPlot();
Expand Down Expand Up @@ -193,7 +186,7 @@ $(document).ready(function() {
</form>
</fieldset>

<div id="inout"></div>
<div style="min-width:400pt" id="inout"></div>
<p id="duplicates"></p>
<p id="details"></p>

Expand Down

0 comments on commit 60582ee

Please sign in to comment.