Skip to content

Commit

Permalink
beagle-ui.js: replace menu, not add
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Kridner committed Jan 1, 2000
1 parent c378b04 commit f974f3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/beagle-ui.js
Expand Up @@ -21,6 +21,8 @@ $(function() {

$(document).ready(function(){
if($('#side-menu').length) {
$('#side-menu').load('/static/side-menu.html');
$.get('/static/side-menu.html', function(data){
$('#side-menu').replaceWith(data);
});
}
});

0 comments on commit f974f3a

Please sign in to comment.