Commit 6a896d3e authored by Paul Asmuth's avatar Paul Asmuth
Browse files

more fixes...

parent 14e2c7e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
    display:block;
    height: 36px;
    border-bottom: 1px solid #dee0e3;
    overflow: hidden;
  }
</style>
<template id="fn-metric-control-base-tpl">
@@ -21,7 +20,8 @@
    .metric-control-group {
      height: 100%;
      float: left;
      padding: 8px 20px 10px 20px;
      line-height: 36px;
      padding: 0 10px;
    }

    .right fn-button {
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@

    this.update = function() {
      var url_hash = "#metric?" + this.buildQueryUrl();
      setUrlHash(url_hash);
      Fnord.setUrlHash(url_hash);
      this.updateData(this.getAttribute('data-format'));
    };

+5 −0
Original line number Diff line number Diff line
@@ -269,4 +269,9 @@ Fnord.openUrl = function(url) {
  alert("openurl is not defined!");
}

Fnord.setUrlHash = function(url_hash) {
  window.history.pushState({url: url_hash}, "#", url_hash);
  window.location.hash = url_hash;
}

Fnord.ready();