Skip to content
Fossil Changes To branch/copybtn.js-responsive
Login

Changes To branch/copybtn.js-responsive

Changes to "branch/copybtn.js-responsive" between 2025-08-12 15:15:47 and 2025-08-12 15:38:01




1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
9
10
+
+
+







* Cross-reference to Forum Post: [Revamped Copy Buttons (Web UI)]
  (forum:/forumpost/cf327708cf)

* The Copy Buttons (to copy text to the clipboard in the web UI) are changed
  from `<span>` elements to `<button>` elements containing a nested `<span>`.
  This allows definition of the "pushed" look through `button:active` by CSS,
  obsoleting the corresponding JS code and the hard-coded `opacity` animation.
  Like this, the transition from "normal" to "pushed" already happens on the
  `onmousedown` event instead of on the `onmouseup` event (when the click event
  is "complete" and triggers the `onclick` handler), resulting in a more
︙