projects
/
web
/
TroutCreek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aaea97
)
Update script calls
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 25 May 2017 17:36:47 +0000
(13:36 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 25 May 2017 17:36:47 +0000
(13:36 -0400)
Use async attribute for scripts
Toolkit/Common.php
patch
|
blob
|
history
diff --git
a/Toolkit/Common.php
b/Toolkit/Common.php
index
2ff5197
..
ea062a8
100644
(file)
--- a/
Toolkit/Common.php
+++ b/
Toolkit/Common.php
@@
-897,7
+897,7
@@
class Toolkit_Common
unset($uniqueScripts[$key]);
array_unshift($uniqueScripts, $jquery);
}
- $format = '<script type="text/javascript" src="%s"></script>';
+ $format = '<script
async
type="text/javascript" src="%s"></script>';
$ret = '';
$baseUrlStrLen = strlen(MEDIA_BASE_URL);