Bug 22551: Stray "//" appears at bottom of opac-detail.tt
authorphette23 <phette23@gmail.com>
Mon, 8 Apr 2019 23:00:47 +0000 (16:00 -0700)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 25 Apr 2019 10:44:00 +0000 (10:44 +0000)
Removes a couple stray "//<![CDATA[" like comments which are artifacts of other
code that since been removed. One of the comments causes two forward slashes to
appear at the bottom of each OPAC detail page.

Testing plan:

- enable SocialNetworks
- visit any OPAC detail page, observe "//" at bottom of page
- apply patch
- revisit page, slashes should be gone

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt

index 7a4ca78..7d25cde 100644 (file)
 [% INCLUDE 'columns_settings.inc' %]
 [% INCLUDE greybox.inc %]
 [% IF ( SocialNetworks ) %]
-    //<![CDATA[
-      {lang: '[% lang | html %]'}
-    //]]>
-    </script>
     <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 [% END %]
 [% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %]
             }
         }
     [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
-
-//]]>
 </script>
 
 [% IF OPACPopupAuthorsSearch %]