fixes auto-load dashboard via URL

pull/97/head
Vishal Kumar 2015-03-10 14:56:03 -07:00
parent d086296c98
commit c57b2a6064
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
var hashpattern = window.location.hash.match(/(&|#)source=([^&]+)/);
if (hashpattern !== null) {
$.get(hashpattern[2], function(data) {
$.getJSON(hashpattern[2], function(data) {
freeboard.loadDashboard(data, function() {
freeboard.setEditing(false);
});