$("#previous").transform({
origin: [left, '50%']
});
+
+ if (this.fluidbook.support.android || this.fluidbook.support.iOS) {
+ $(document).on('blur focus', 'input', function () {
+ setTimeout(resize, 1500);
+ setTimeout(resize, 3000);
+ });
+ }
},
resize: function (init) {
if (init == undefined || init == null) {
if (this.fluidbook.form) {
try {
this.fluidbook.form.resize();
- }catch (e) {
-
+ } catch (e) {
+
}
}
ww: this.ww,
hh: this.hh,
orientation: this.orientation,
- bookScale:this.bookScale,
+ bookScale: this.bookScale,
fluidbookrect: $("#fluidbook").get(0).getBoundingClientRect()
});
},
var marginTop = marginBottom = Math.min(Math.round(wh * 0.075), 50); // Relative margins with a max of 50
var searchResultsMaxHeight = wh - formHeight - marginTop - marginBottom;
var shareHeight = 0;
- var sl=$('#shareLinks');
+ var sl = $('#shareLinks');
if (sl.length > 0) {
shareHeight = sl.outerHeight()
}
var menuSearchHeight = 0;
- var ms=$('#menuSearch')
+ var ms = $('#menuSearch')
if (ms.length > 0) {
menuSearchHeight = ms.height();
}