From 00442907e5c9b1757888a5392bd9b8adfbe15e39 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Fri, 11 Jan 2019 18:11:04 +0800 Subject: [PATCH] index: update socketio version and only show master/client slides Signed-off-by: Sean Cross --- index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 5abe28a..0675970 100644 --- a/index.html +++ b/index.html @@ -750,10 +750,12 @@ { src: 'plugin/zoom-js/zoom.js', async: true }, { src: 'plugin/notes/notes.js', async: true }, - { src: '//cdn.socket.io/socket.io-1.3.5.js', async: true }, - { src: 'plugin/multiplex/master.js', async: true }, - // and if you want speaker notes - { src: 'plugin/notes-server/client.js', async: true } + { src: 'https://cdn.socket.io/socket.io-2.0.3.js', async: true }, + { + src: Reveal.getQueryHash().s ? + 'plugin/multiplex/master.js' : + 'plugin/notes-server/client.js', async: true + }, ] });