Changes

Jump to navigation Jump to search
m
no edit summary
Line 27: Line 27:  
                 var queueshelf = {};
 
                 var queueshelf = {};
 
this.wbqueue = function(id) {
 
this.wbqueue = function(id) {
if ( queueshelf[id] != undefined ) {
+
if ( typeof queueshelf[id] != undefined ) {
 
$.getJSON('/w/api.php?action=wbgetentities&format=json&ids=' + id, function(json) {  
 
$.getJSON('/w/api.php?action=wbgetentities&format=json&ids=' + id, function(json) {  
 
var h = json.entities;
 
var h = json.entities;
530

edits

Navigation menu