diff options
| author | 2013-11-17 11:59:20 +0100 | |
|---|---|---|
| committer | 2013-11-17 12:42:46 +0100 | |
| commit | 8c8e5257d8d092822ca956d014ee74521d147744 (patch) | |
| tree | babe45b34e8878c4b145bfb6a9e292cc12a1ce24 /app/controllers/indexController.php | |
| parent | fb5bcbe044a8273d54fdc7bc525106a2ef797fc5 (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-x | app/controllers/indexController.php | 5 |
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') { |
