aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 23:27:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 23:27:36 +0000
commit0f8752554aa09bd0e9f4b4ff1cfeb1fec6507b65 (patch)
tree98836cd913c9ef82d2471060d13b7c940337a5f7 /views/default/js
parent81161414ebe72d0b84e3bd267ea154d3f5452ff1 (diff)
downloadelgg-0f8752554aa09bd0e9f4b4ff1cfeb1fec6507b65.tar.gz
elgg-0f8752554aa09bd0e9f4b4ff1cfeb1fec6507b65.tar.bz2
Views in the js/ directory should not contain <script> tags
git-svn-id: http://code.elgg.org/elgg/trunk@8238 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/initialize_elgg.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/js/initialize_elgg.php b/views/default/js/initialize_elgg.php
index b967a0914..9032d8a63 100644
--- a/views/default/js/initialize_elgg.php
+++ b/views/default/js/initialize_elgg.php
@@ -4,7 +4,6 @@
*/
?>
-<script type="text/javascript">
/**
* Don't want to cache these -- they could change for every request
*/
@@ -41,5 +40,4 @@ if ($user instanceof ElggUser) {
echo 'elgg.session.user = new elgg.ElggUser('.json_encode($user_json).');';
}
-?>;
-</script> \ No newline at end of file
+?>