aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/subscription/index.phtml5
-rw-r--r--p/scripts/main.js1
2 files changed, 4 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');
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 925a93650..005dc961b 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -1272,6 +1272,7 @@ function init_slider_observers() {
closer.on('click', function() {
closer.removeClass('active');
slider.removeClass('active');
+ return false;
});
}