simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Nov 12 17:25:54 GMT 2022


TL;DR:
  8ef28a4 js: Remove class="text/css" from <style> element
  5a90dd9 js: Give keyboard focus to the puzzle canvas at startup again

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2022-11-12 17:25:54

commit 8ef28a4fd6b3b111b3d2c0446d9d82784d239d22
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=8ef28a4fd6b3b111b3d2c0446d9d82784d239d22;hp=208e2508d3ba459d32e31661a0fa9d1b4707dd0e
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sat Nov 12 15:32:18 2022 +0000

    js: Remove class="text/css" from <style> element
    
    This is the wrong attribute, and the correct type="text/css" is
    deprecated by MDN.  Since it's never worked, the deprecated attribute
    presumably isn't needed either.

 html/jspage.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5a90dd9312ed2568d1d7f4b2f728614c29ee0f85
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=5a90dd9312ed2568d1d7f4b2f728614c29ee0f85;hp=8ef28a4fd6b3b111b3d2c0446d9d82784d239d22
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sat Nov 12 17:21:03 2022 +0000

    js: Give keyboard focus to the puzzle canvas at startup again
    
    I think this has been broken since a752e73, when the canvas changed to
    being hidden, and hence unable to receive keyboard focus, when the page
    loaded.  I've now moved the focus() call to after the canvas gets
    displayed.

 emccpre.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)



More information about the tartarus-commits mailing list