28
28
// We have a collection of valid and invalid links containing links of
29
29
// type link_type, so we need to remove the existing link_class,
30
30
// replace it with an invalid-link class, and set the link title.
31
34
var invalid_links = link_info[link_type].invalid || {};
32
35
var valid_links = link_info[link_type].valid || {};