Skip to content

Commit

Permalink
Merge pull request #611 from WolframResearch/609-chat-notebooks-cloud…
Browse files Browse the repository at this point in the history
…-deployed-from-desktop-issue-errors-on-mouseover-for-code-blocks

Bugfix: Fix mouseover error on notebooks cloud deployed from desktop
  • Loading branch information
rhennigan authored Mar 7, 2024
2 parents db850c6 + 656f5f1 commit f63523c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Chatbook/Formatting.wl
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ inlineInteractiveCodeCell[ display_, string_, lang_ ] :=
EventHandler[
display,
{
"MouseEntered" :> (
"MouseEntered" :> If[ ! TrueQ @ $CloudEvaluation,
Quiet @ Needs[ "Wolfram`Chatbook`" -> None ];
Symbol[ "Wolfram`Chatbook`ChatbookAction" ][
"AttachCodeButtons",
Expand All @@ -1462,7 +1462,7 @@ inlineInteractiveCodeCell[ display_, string_, lang_ ] :=
string,
lang
]
)
]
}
],
TaggingRules -> <| "CellToStringType" -> "InlineInteractiveCodeCell", "CodeLanguage" -> lang |>,
Expand Down

0 comments on commit f63523c

Please sign in to comment.