Quote:
Originally Posted by katadelos
You can force the orientation by making this change to /var/local/mesquite/browser/javascripts/browser.js:
Code:
diff --git a/javascripts/browser.js b/javascripts/browser.js
index 50b51fb..6215a3f 100755
--- a/javascripts/browser.js
+++ b/javascripts/browser.js
@@ -72,9 +72,10 @@ Kindle.use(function (b) {
}
// set orientation if needed
- if (settings.orientation !== b.enums.orientations.auto) {
- b.device.orientation = settings.orientation;
- }
+ //if (settings.orientation !== b.enums.orientations.auto) {
+ // b.device.orientation = settings.orientation;
+ //}
+ b.device.orientation = b.enums.orientations.landscape
}
else {
// save settings
|
Hi katadelos! I downloaded the browser.js file with WinSCP, edit it offline and then upload it to the Kindle. Can I omit the three commented lines? I mean, I'd just add 1 line like that:
Code:
// set orientation if needed
- if (settings.orientation !== b.enums.orientations.auto) {
- b.device.orientation = settings.orientation;
- }
+ b.device.orientation = b.enums.orientations.landscape
}
else {
// save settings