File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 242
242
}
243
243
}
244
244
}
245
- // alert(id);
246
245
loadingInitNodes= false ;
247
246
if (id){
248
247
showNode (id);
277
276
}
278
277
279
278
function nodeClick (id ){
280
-
281
- // alert(id+" -> " + $(jq(id)).hasClass('viewable'));
282
279
initView = false ;
283
280
if ($ (jq (id)).hasClass (' viewable' )){
284
281
selectNodeView (id);
285
282
nodeOpen (id);
286
283
if (window .location .hash != id){
287
284
window .location .hash = id;
288
285
}
289
- $ (" .viewer" ).trigger (' viewChanged' , [id]);
290
286
}else {
291
287
nodeOpen (id);
292
288
}
342
338
function checkHashChanged (e ){
343
339
var id = k4Settings .activePidPath ;
344
340
var newid = window .location .hash .toString ().substring (1 );
345
- // alert(newid + " \n" + id);
346
341
if (id != newid){
347
342
if (newid .length == 0 ){
348
343
loadInitNodes ();
349
344
}
350
345
nodeClick (newid);
346
+ $ (" .viewer" ).trigger (' viewChanged' , [newid]);
351
347
}
352
348
}
353
349
You can’t perform that action at this time.
0 commit comments