diff options
| author | 2014-10-01 13:58:09 +0200 | |
|---|---|---|
| committer | 2014-10-01 13:58:09 +0200 | |
| commit | fe655e0d9d2fb1173099d77c478bbb2f7ac8b1e1 (patch) | |
| tree | 47904eeb97e23af9ae4997f14d310acf5ae52979 /app/views/subscription/index.phtml | |
| parent | 405f23050b18e8388edb6f8be90aa59c17ada421 (diff) | |
Fix close slider when a feed is selected
See https://github.com/marienfressinaud/FreshRSS/issues/646
Diffstat (limited to 'app/views/subscription/index.phtml')
| -rw-r--r-- | app/views/subscription/index.phtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 10578bdd3..577ddd972 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -134,8 +134,9 @@ <?php } ?> </div> -<a id="close-slider"></a> -<div id="slider"<?php echo isset($this->feed) ? ' class="active"' : ''; ?>> +<?php $class = isset($this->feed) ? ' class="active"' : ''; ?> +<a href="#" id="close-slider"<?php echo $class; ?>></a> +<div id="slider"<?php echo $class; ?>> <?php if (isset($this->feed)) { $this->renderHelper('feed/update'); |
