mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-21 18:43:23 +00:00
@@ -99,7 +99,7 @@ export function behaviorHash(context) {
|
||||
context.storage('commentDate', Date.now());
|
||||
}
|
||||
|
||||
if (q.walkthrough) {
|
||||
if (q.walkthrough === 'true') {
|
||||
hash.startWalkthrough = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ export function utilDetect(force) {
|
||||
// detect text direction
|
||||
var q = utilStringQs(window.location.hash.substring(1));
|
||||
var lang = dataLocales[detected.locale];
|
||||
if ((lang && lang.rtl) || q.hasOwnProperty('rtl')) {
|
||||
if ((lang && lang.rtl) || (q.rtl === 'true')) {
|
||||
detected.textDirection = 'rtl';
|
||||
} else {
|
||||
detected.textDirection = 'ltr';
|
||||
|
||||
Reference in New Issue
Block a user