diff --git a/src/js/init.js b/src/js/init.js
index 6497c9941cb64af9c602a24a251e8adb458c98c0..d5c5e313a0ff74c30382a7a2d4ce7db1af72d348 100644
--- a/src/js/init.js
+++ b/src/js/init.js
@@ -347,7 +347,7 @@ var rw = {
                     rw.topIcons.generateHTML(true).forEach(link => {
                         mw.util.addPortletLink(
                             'p-cactions',
-                            'javascript:false;',
+                            '#',
                             "RW:" + link.txt,
                             link.id,
                             null, null, // ones we don't need
@@ -363,7 +363,7 @@ var rw = {
                     rw.topIcons.generateHTML(true).forEach(link => {
                         mw.util.addPortletLink(
                             'p-personal',
-                            'javascript:false;',
+                            '#',
                             link.txt,
                             link.id,
                             null, null, // ones we don't need