changeset 2899:6a25a7d93288

fixes #430 only for modern theme
author Yask Srivastava <yask123@gmail.com>
date Mon, 09 Feb 2015 22:19:40 +0530
parents 4eae4434fdfa
children 61d06217b9bc
files MoinMoin/static/js/common.js
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/js/common.js	Thu Jan 15 14:04:20 2015 -0700
+++ b/MoinMoin/static/js/common.js	Mon Feb 09 22:19:40 2015 +0530
@@ -294,6 +294,8 @@
         titles.append(li);
         // add click handler to show this form and hide all others
         aTagClone.click(function (ev) {
+            
+            $('#moin-flash .moin-flash-javascript').remove();
             tab = this.hash;
             window.location.hash = tab;
             $('.moin-current-tab').removeClass('moin-current-tab');