Template talk:BlueprintString: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== "undefined" == After reading the last fff, I realized, that clicking on the image will not copy the the string from <code><nowiki>{{{bp-string}}}</nowiki></code>. Instead,...")
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== "undefined" ==
== "undefined" ==
After reading the last fff, I realized, that clicking on the image will not copy the the string from <code><nowiki>{{{bp-string}}}</nowiki></code>. Instead, the clipboard will only contain "undefined". I'm not yet sure where this comes from, maybe it's just my browser? If not, I can only imagine the image being responsible, since things like js and images are not the best friends on wikis... -- [[User:RobbiRobb|RobbiRobb]] ([[User talk:RobbiRobb|talk]]) 23:22, 12 March 2018 (UTC)
After reading the last fff, I realized, that clicking on the image will not copy the the string from <code><nowiki>{{{bp-string}}}</nowiki></code>. Instead, the clipboard will only contain "undefined". I'm not yet sure where this comes from, maybe it's just my browser? If not, I can only imagine the image being responsible, since things like js and images are not the best friends on wikis... -- [[User:RobbiRobb|RobbiRobb]] ([[User talk:RobbiRobb|talk]]) 23:22, 12 March 2018 (UTC)
: The javascript just couldn't find the right target when you clicked the image. I changed the image to be click-through for javascript events, which solves the problem for everyone who isn't using IE10 or below :P -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 09:25, 13 March 2018 (UTC)
::Sounds good, thanks ^^ -- [[User:RobbiRobb|RobbiRobb]] ([[User talk:RobbiRobb|talk]]) 15:32, 13 March 2018 (UTC)

Latest revision as of 15:32, 13 March 2018

"undefined"

After reading the last fff, I realized, that clicking on the image will not copy the the string from {{{bp-string}}}. Instead, the clipboard will only contain "undefined". I'm not yet sure where this comes from, maybe it's just my browser? If not, I can only imagine the image being responsible, since things like js and images are not the best friends on wikis... -- RobbiRobb (talk) 23:22, 12 March 2018 (UTC)

The javascript just couldn't find the right target when you clicked the image. I changed the image to be click-through for javascript events, which solves the problem for everyone who isn't using IE10 or below :P -- Bilka (talk) - Admin 09:25, 13 March 2018 (UTC)
Sounds good, thanks ^^ -- RobbiRobb (talk) 15:32, 13 March 2018 (UTC)