diff --git a/source/core/source/global.js b/source/core/source/global.js index d06ea30d..6571a79b 100644 --- a/source/core/source/global.js +++ b/source/core/source/global.js @@ -370,8 +370,8 @@ var gca_global = { // Check page direction ltr or rtl if( - !document.querySelectorAll('link')[1+s].getAttribute("href").match("rtl_") && - !document.querySelectorAll('link')[2+s].getAttribute("href").match("rtl_") + !document.querySelectorAll('link')[1+s].getAttribute("css").match("rtl_") && + !document.querySelectorAll('link')[2+s].getAttribute("css").match("rtl_") ){ window.gca_rtl = false; return;