Merge "Fix errant XHR request happening on every page"
This commit is contained in:
commit
f754398492
@ -25,7 +25,7 @@ horizon.network_topology = {
|
||||
},
|
||||
retrieve_network_info: function(){
|
||||
var self = this;
|
||||
if(!$("#networktopology")) {
|
||||
if($("#networktopology").length === 0) {
|
||||
return;
|
||||
}
|
||||
$.getJSON($("#networktopology").data('networktopology'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user