From 6fd6c18cd75e85e3335aec4cf00875fa24f6f4b3 Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Tue, 16 Feb 2021 16:44:55 +0100 Subject: [PATCH 1/2] 29 selection fix for mobile --- js/hyperaudio-lite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/hyperaudio-lite.js b/js/hyperaudio-lite.js index 27c80c2..cd1cbb2 100644 --- a/js/hyperaudio-lite.js +++ b/js/hyperaudio-lite.js @@ -37,7 +37,7 @@ var hyperaudiolite = (function () { hashArray = []; } - transcript.addEventListener('mouseup', function() { + document.addEventListener('selectionchange', function() { var mediaFragment = getSelectionMediaFragment(); From 24989307bbf64ccfdd70bfb29e4be236747a8768 Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Tue, 16 Feb 2021 16:47:56 +0100 Subject: [PATCH 2/2] version bump --- js/hyperaudio-lite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/hyperaudio-lite.js b/js/hyperaudio-lite.js index cd1cbb2..1c41c18 100644 --- a/js/hyperaudio-lite.js +++ b/js/hyperaudio-lite.js @@ -1,5 +1,5 @@ /*! (C) The Hyperaudio Project. MIT @license: en.wikipedia.org/wiki/MIT_License. */ -/*! Version 1.1.2 */ +/*! Version 1.1.3 */ 'use strict';