jquery loading and css fixes
This commit is contained in:
parent
1c26ce8ce5
commit
ad57ae4fdf
|
@ -20,6 +20,7 @@ .anbu-tabs
|
||||||
.anbu-tabs li
|
.anbu-tabs li
|
||||||
{
|
{
|
||||||
display:inline;
|
display:inline;
|
||||||
|
line-height:1em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.anbu-tabs a, .anbu-tabs a:visited
|
.anbu-tabs a, .anbu-tabs a:visited
|
||||||
|
|
|
@ -60,19 +60,6 @@ public static function query($sql, $bindings, $time)
|
||||||
static::$data['queries'][] = array($sql, $time);
|
static::$data['queries'][] = array($sql, $time);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Determine if the given response includes jQuery.
|
|
||||||
*
|
|
||||||
* @param Response $response
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
protected static function has_jquery($response)
|
|
||||||
{
|
|
||||||
$pattern = '/\<head>(.*)\<script(.+)jquery(.*)\>\<\/script\>(.*)\<\/head\>/';
|
|
||||||
|
|
||||||
return preg_match($pattern, $response->content);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attach the Profiler's event listeners.
|
* Attach the Profiler's event listeners.
|
||||||
*
|
*
|
||||||
|
|
|
@ -64,6 +64,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
<script>window.jQuery || document.write("<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'>\x3C/script>")</script>
|
||||||
<script>{{ file_get_contents(path('sys').'profiling/profiler.js') }}</script>
|
<script>{{ file_get_contents(path('sys').'profiling/profiler.js') }}</script>
|
||||||
<!-- /ANBU - LARAVEL PROFILER -->
|
<!-- /ANBU - LARAVEL PROFILER -->
|
Loading…
Reference in New Issue