Skip to content
Discussion options

You must be logged in to vote

Hi,
I think the documentation might be a bit ambigous at that point. To achieve what you want to do, I think you will need to define the CSS-class "responded". As you will see in the plugin code, this is going to change the image display after a response has been given.

If you want to remove the image after a response, you can do it via CSS:

.responded{
	visibility: hidden;
}

If you have one, this will likely leave the prompt on screen, though. In order to also change the prompt, you will first need to give your prompt a class (e.g., the class "prompttext" and then modify the after_response behavior of the plugin a bit. You can add this in there:

document.getElementsByClassName("promptte…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by momolinus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants