Changes

Jump to navigation Jump to search
m
no edit summary
Line 19: Line 19:  
console.log("dived in");
 
console.log("dived in");
 
// check if we have controller id constructed from wbEntity  
 
// check if we have controller id constructed from wbEntity  
if( dive( dive( obj, wbEStruct["instanceOfRelations"])[i] , wbEStruct["IDPropLoc"])[wbEStruct["numeric-id"]] === controller_item_id ) {
+
if( dive( dive( obj, wbEStruct["instanceOfRelations"])[i] , wbEStruct["IDPropLoc"])[wbEStruct["IDName"]] === controller_item_id ) {
 
console.log( "it's a controller" )
 
console.log( "it's a controller" )
 
var $title2 = $( '.wikibase-title' ),
 
var $title2 = $( '.wikibase-title' ),
530

edits

Navigation menu