/mobile|tablet|ip(ad|hone|od)|android/i
In my very brief look at the code, it appears that it determines mobile mode by comparing this regex string:against whatever your browser returns as it's user agent. You can navigate to this page:/mobile|tablet|ip(ad|hone|od)|android/i
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_nav_useragent
and press the button to see what your browser is exposing as it's user agent.
On Thursday, November 16, 2017 at 4:04:11 PM UTC-8, Eneko Gotzon wrote:
Hi wonderful coders :)I am beginning to study how to use TiddlyMap (a marvelous plugin that turns TW onto a wiki & concept-map hybrid).After installing all the TiddlyMap plugins I get the Map tab in the wiki's sidebar but also a warning saying that The editor is not displayed in mobile mode. That warning seems to me surprising because I'm using TiddlyMap on a laptop.I'm stuck on that warning. I have not found anything relevant in the menu options nor either information about how to overcome the warning. Perhaps somebody can help me.Please, excuse me if this question belongs to trifling matter.Thank you very much, code geniuses!--
Eneko Gotzon AresIzan, egon, eginDonostia – EH, Baskonia, NA Oso
——————————————————Mezu hau eta berari atxikitako agiri oro isilpeko dira eta soilik hartzaileari zuzentzen zaizkie. Mezu hau hutsegitez jasoz gero berau ezabatzea eskatzen da eta igorleari horren berri ematea eskertuko litzake. Baimen agerikorik gabe debekatuta dago mezu honen edota bhttps://drive.google.com/a/dondom.net/file/d/1xlwb-9p2Qhd4HAGgoCDk_7XJRI_auAuB/view?usp=sharingere edukinen edozein erabilera edo hedatzea, bai osoki zein zatiz.
Mezu elektronikoak andea daitezke; mezu hau andeaturik, aldaturik edota aizun balego Eneko Gotzon Aresek edota bere ordezkariek uko egiten diote edonolako ardurei.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/90323712-7b70-4450-a7fe-bb03ab3391cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/90323712-7b70-4450-a7fe-bb03ab3391cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7ae3b279-3a2c-49ba-b29f-19a443f543fa%40googlegroups.com.
I would be curious what it reports.
Hi Eneko,
this behavior is actually not triggered by javascript but by tiddlymap's css…
@media (max-width: __breakpoint__) { .tc-sidebar-scrollable { .tmap-desktop-editor .tmap-widget:not(.tmap-fullscreen) { display: none; } } }where "__breakpoint__" translates to:
const replaceAfterSass = { '__breakpoint__': '{{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}' };
So check what the following tiddler yields when opening it.
$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint
Below this pixel threshold, the main editor in the sidebar won't be displayed as TiddlyMap is not designed to work on a small device because it needs some space to visualize nodes and relations on a map.<$tiddlymap editor="advanced" click-to-use="false"> </$tiddlymap>
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAKzrwxDh3-uAFat1sCg5vkRNVvh9RHeT1S_OUnpA0FBdx6MaUg%40mail.gmail.com.
Below this pixel threshold the main editor in the sidebar won't be displayed…