In the process of restoring a legacy piece of custom journalism, I started debugging inline document citation links that no longer functioned. This was one of the earliest pieces to use this style of proof, which I believe is an important piece of journalism history to preserve. They work by calling dc.embed.loadNote, which miraculously still works, and then positioning the note after the load with an afterLoad callback, which sadly no longer does. To temporarily address this, I've shimmed the original script with a ridiculous workaround, but it'd be better and potentially not that hard to restore the original afterLoad callback, which is what I propose to do.
In the process of restoring a legacy piece of custom journalism, I started debugging inline document citation links that no longer functioned. This was one of the earliest pieces to use this style of proof, which I believe is an important piece of journalism history to preserve. They work by calling
dc.embed.loadNote, which miraculously still works, and then positioning the note after the load with anafterLoadcallback, which sadly no longer does. To temporarily address this, I've shimmed the original script with a ridiculous workaround, but it'd be better and potentially not that hard to restore the originalafterLoadcallback, which is what I propose to do.