MediaWiki:Common.js: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
}) |
}) |
||
.then(function(data) { |
.then(function(data) { |
||
var div_for_worldguard_list = document.getElementById('load_fetched_json_worldguard_data'); |
|||
var list = document.createElement('ul'); |
|||
}; |
}; |
||
for (worldguardName in data) { |
for (worldguardName in data) { |
||
var li = document.createElement('li'); |
|||
li.innerHTML = worldguardName; |
li.innerHTML = worldguardName; |
||
list.appendChild(li); |
list.appendChild(li); |