aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-17 11:59:20 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-17 12:42:46 +0100
commit8c8e5257d8d092822ca956d014ee74521d147744 (patch)
treebabe45b34e8878c4b145bfb6a9e292cc12a1ce24 /app/controllers/indexController.php
parentfb5bcbe044a8273d54fdc7bc525106a2ef797fc5 (diff)
Corrige bug chargement JS
Lorsque la vue par défaut était le mode lecture, le JS ne se chargeait pas. La faute au script LazyLoad qui n'était pas chargé correctement
Diffstat (limited to 'app/controllers/indexController.php')
-rwxr-xr-xapp/controllers/indexController.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index 392abd3e1..e4462e543 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -43,11 +43,6 @@ class indexController extends ActionController {
$this->view->_useLayout (false);
header('Content-Type: application/rss+xml; charset=utf-8');
} else {
- if(!$output) {
- $output = $this->view->conf->viewMode();
- Request::_param ('output', $output);
- }
-
View::appendScript (Url::display ('/scripts/shortcut.js?' . @filemtime(PUBLIC_PATH . '/scripts/shortcut.js')));
if ($output == 'global') {