From f974f3a2f04096210ae27939456c27e7a36454f6 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Sat, 1 Jan 2000 01:05:16 +0000 Subject: [PATCH] beagle-ui.js: replace menu, not add --- static/beagle-ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/beagle-ui.js b/static/beagle-ui.js index b223c2cb..c54c5898 100644 --- a/static/beagle-ui.js +++ b/static/beagle-ui.js @@ -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); + }); } });