Commit: be1bcf78cfbf49891f54417cd5c3b1c9773fee0c Author: Hannes Magnusson <bj...@mongodb.com> Mon, 28 Oct 2013 16:22:02 -0700 Parents: 0e057c3ced87c3dd9d1f7fcc02e410d04efa6e9e Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=be1bcf78cfbf49891f54417cd5c3b1c9773fee0c Log: Remove annoying javascript error on all pages except docs Changed paths: M include/layout.inc M include/shared-manual.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index e1435bd..388eefb 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -221,6 +221,7 @@ function site_header($title = '', $config = array()) <link rel="shortcut icon" href="{$_SERVER['STATIC_ROOT']}/favicon.ico" />{$link} $canonical <script type="text/javascript" src="{$_SERVER['STATIC_ROOT']}/userprefs.js"></script>{$base}{$meta}{$moreheadtags} + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> </head> <body{$onload}> diff --git a/include/shared-manual.inc b/include/shared-manual.inc index 2563ca2..e2ac6a8 100644 --- a/include/shared-manual.inc +++ b/include/shared-manual.inc @@ -114,7 +114,6 @@ function manual_header() ), "headtags" => array( '<meta http-equiv="Content-language" content="' . $lang . '" /> - <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function() { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php