Fixed
Project:
Fasttoggle
Version:
4.2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2026 at 13:20 UTC
Updated:
21 Sep 2026 at 12:03 UTC
Jump to comment: Most recent
Fasttoggle's AJAX response currently replaces the < a > link itself only, so the node/comment wrapper keeps its server-rendered classes and themes never receive the node--unpublished/comment--unpublished class until the page is fully reloaded. In addition, the ReplaceCommand selector for nodes is the shared class .fasttoggle-ENTITY-status (as well as -promote/-sticky), which matches every fasttoggle link on the page — on a teaser listing a single click swaps the link on all teasers at once (comments already use a per-entity class)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ivnishComment #4
ivnishComment #6
ivnish