mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-12 00:59:46 +00:00
Added debug message #3
This commit is contained in:
parent
ab298decf0
commit
7eef551c48
|
@ -205,9 +205,14 @@ window.WMTypeAhead = function(appendTo, searchInput) { // eslint-disable-line no
|
|||
script = document.createElement('script');
|
||||
script.id = 'api_opensearch';
|
||||
|
||||
console.log("Created API script");
|
||||
|
||||
// Removed description prop
|
||||
// TODO: Use text extract or PCS for description
|
||||
|
||||
callbackIndex = window.callbackStack.addCallback(window.portalOpensearchCallback);
|
||||
console.log("Called callback index");
|
||||
|
||||
searchQuery = {
|
||||
action: 'query',
|
||||
format: 'json',
|
||||
|
@ -226,6 +231,8 @@ window.WMTypeAhead = function(appendTo, searchInput) { // eslint-disable-line no
|
|||
|
||||
script.src = hostname + serialize(searchQuery);
|
||||
docHead.appendChild(script);
|
||||
|
||||
console.log("Query script loaded");
|
||||
}
|
||||
|
||||
// END loadQueryScript
|
||||
|
|
Loading…
Reference in a new issue