Index: openacs-4/packages/xowiki/www/resources/chat-common.js
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/Attic/chat-common.js,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/xowiki/www/resources/chat-common.js 21 Nov 2018 11:32:06 -0000 1.6
+++ openacs-4/packages/xowiki/www/resources/chat-common.js 22 Nov 2018 09:15:37 -0000 1.7
@@ -13,15 +13,16 @@
// Full screen trigger
const triggerFSlink = document.createElement("a");
triggerFSlink.className = 'xowiki-chat-trigger-fs-link';
- triggerFSlink.setAttribute("href", "javascript:void(0)");
+ triggerFSlink.setAttribute("href", "#");
// Trigger icon
var triggerFSoff = '';
var triggerFSon = '';
triggerFSlink.innerHTML = triggerFSon;
// Full screen when clicked
- triggerFSlink.addEventListener("click", function() {
+ triggerFSlink.addEventListener("click", function(event) {
+ event.preventDefault();
var chat = document.getElementById('xowiki-chat');
var chatFS = document.getElementById('xowiki-chat-fs');
if (chat != null) {