]> git.mxchange.org Git - friendica-addons.git/blobdiff - viewsrc/viewsrc.php
use friendica temppath settings for cache data
[friendica-addons.git] / viewsrc / viewsrc.php
index f165e9c5353ba73dd63bf2537bb691074eccb0d7..9366930f00e133b21c2150d9575a4f06f619e57d 100644 (file)
@@ -25,7 +25,9 @@ function viewsrc_page_end(&$a, &$o){
        $a->page['htmlhead'] .= <<< EOS
        <script>
                $(function(){
-                       $('a[href*="/viewsrc/"]').fancybox();
+                       $('a[href*="/viewsrc/"]').each(function() {
+                               $(this).colorbox($(this).attr('href'));
+                       });
                });
        </script>
 EOS;