Changes

Jump to navigation Jump to search
m
no edit summary
Line 13: Line 13:  
for( var i = 0; i < obj.claims.P3.length; i++ ) {
 
for( var i = 0; i < obj.claims.P3.length; i++ ) {
 
// if we have controller id as own, we can create the SAR chance  
 
// if we have controller id as own, we can create the SAR chance  
if( obj.claims.P3[i].mainsnak.datavalue.value["id"] === controller_item_id ) {
+
if( obj.claims.P3[i].mainsnak.datavalue.value["numeric-id"] === controller_item_id ) {
 
// Create popup for SAR
 
// Create popup for SAR
 
console.log("0");
 
console.log("0");
530

edits

Navigation menu