For example: https://autohotkey.com/boards/viewtopic ... 445#p12445
I've tried in 4 different browsers/2 devices/2 OS' so the issue is consistent. I use 'Simplicity' as board style.
I guess this is the same issue as with codeboxes?
Show/Hide [spoiler] tags not working
Re: Show/Hide [spoiler] tags not working
Yes.
It needs work.
It needs work.
Re: Show/Hide [spoiler] tags not working
Thanks for the confirmation, @gregster.
Re: Show/Hide [spoiler] tags not working
Quote the user to reveal their contents
Re: Show/Hide [spoiler] tags not working
Many thanks, @swagfag, for the workaround.
Re: Show/Hide [spoiler] tags not working
i couldnt get the expand view to show up, unless i modify the init() function:
boxes.parentNode.previousSibling.innerHTML += ' · <a href="#" onclick="expandCode(this); return false;">EXPAND VIEW</a>';
to
boxes.previousSibling.innerHTML += ' · <a href="#" onclick="expandCode(this); return false;">EXPAND VIEW</a>';
im on SimplicityOld if that makes any difference
boxes.parentNode.previousSibling.innerHTML += ' · <a href="#" onclick="expandCode(this); return false;">EXPAND VIEW</a>';
to
boxes.previousSibling.innerHTML += ' · <a href="#" onclick="expandCode(this); return false;">EXPAND VIEW</a>';
im on SimplicityOld if that makes any difference
Re: Show/Hide [spoiler] tags not working
Oh, I was using prosilver theme.
Fixed and updated to v0.4:
https://greasyfork.org/scripts/374036-ahk-forum-fix
I have changed it to:
var tagP = (boxes.parentNode.tagName.toLowerCase() == 'pre' ? boxes.parentNode.previousSibling : boxes.previousSibling);
Fixed and updated to v0.4:
https://greasyfork.org/scripts/374036-ahk-forum-fix
I have changed it to:
var tagP = (boxes.parentNode.tagName.toLowerCase() == 'pre' ? boxes.parentNode.previousSibling : boxes.previousSibling);
Re: Show/Hide [spoiler] tags not working
Fixed.
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Who is online
Users browsing this forum: No registered users and 14 guests