On Friday, February 24, 2017 at 2:17:20 PM UTC+1, Thierry 
(sage-googlesucks@xxx) wrote:
> In principle, the activate button 
> (which transforms examples into cells) should appear when the doc is 
> browsed from jupyter, not from the online doc. 

I see, thank you for the pointer, I got it. The check for that precondition 
is

if (window.location.protocol.startsWith('http')) {

https://git.sagemath.org/sage.git/diff/?id=af82d8abc834b1dc960036a6f688c60332e8f613

-- h

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to