Skip to content

Commit

Permalink
[hotfix] fixing explore view
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 28, 2016
1 parent 63b4f56 commit 8bf629c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions panoramix/assets/javascripts/explore.js
Expand Up @@ -18,12 +18,14 @@ require('../vendor/select2.sortable.js');
require('../vendor/pygments.css');
require('../node_modules/bootstrap-toggle/css/bootstrap-toggle.min.css');

var slice;

function initExploreView() {

function druidify(){
$('div.alert').remove();
history.pushState({}, document.title, slice.querystring());
renderSlice();
px.renderSlice();
}

function get_collapsed_fieldsets(){
Expand Down Expand Up @@ -217,7 +219,7 @@ $(document).ready(function() {


var data = $('.slice').data('slice');
var slice = px.Slice(data);
slice = px.Slice(data);

//
$('.slice').data('slice', slice);
Expand Down

0 comments on commit 8bf629c

Please sign in to comment.