• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Duplicate  Strange jquery Links

R

ragtek

Guest
#1
Pls check this thread: http://xenforo.com/community/threads/jquery-cdn-link-is-broken-in-latest-version.17743/#post-231118

class XenForo_Dependencies_Public

PHP:
$source = ($forceLocal ? 'local' : $options->jQuerySource);
switch ($source)
{
case 'jquery':
case 'mt':
return "http://code.jquery.com/jquery-{$jQueryVersion}{$min}.js";

case 'google':
return "//ajax.googleapis.com/ajax/libs/jquery/{$jQueryVersion}/jquery{$min}.js";

case 'microsoft':
return "//ajax.microsoft.com/ajax/jquery/jquery-{$jQueryVersion}{$min}.js";
isn't the http: missing for the last 2 links?