prep for wd4
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Fri, 09 Mar 2012 08:18:41 +0000
changeset 1830 8c9dcb8113b9
parent 1829 a646107cc2dc
child 1831 dcbf8abae7fc
prep for wd4
model/prov-dm.html
--- a/model/prov-dm.html	Fri Mar 09 08:17:01 2012 +0000
+++ b/model/prov-dm.html	Fri Mar 09 08:18:41 2012 +0000
@@ -24,10 +24,12 @@
         $('.glossary-ref').each(function(index) {
           var ref=$(this).attr('ref');
           var span=$(this).attr('withspan')
+          $(this).removeAttr('withspan');
+          $(this).removeAttr('ref');
+
           $('#'+ref+'.glossary').contents().clone().appendTo($(this));
           $(this).attr('prov:hadOriginalSource',glossary_hg);
           if (span) {
-            $(this).removeAttr('withspan');
             $(this).children('dfn').replaceWith(function(){return $('<span>').addClass('dfn').append($(this).contents())});
           }
         });