javascript - .replace, unwanted overriding of cufon replace also -


I have this in the JS file:

Vars explained (% id = inject: @ injection) (#% Id% is just wrapper divas)

  $ (document) .ready (function () {var of injection = /% id = inject% / ig; var injection stack = $ ( '#% Id%') .HTML (); (function ($) {var theInjectionPage = $ ("body"); Inconnection page html (theInjectionPage.html (). Replacement (injection, injection stack));}) (jQuery )});  

And this is in the main section of HTML:

   

The site's title has been replaced by cufon, but my JS is completely breaking the cufon on the title, and I can not understand why.?


Comments