webview-fix

This commit is contained in:
Dante Ruiz 2017-04-11 18:49:40 +01:00
parent b7daf8c80b
commit 9c79e62004

View file

@ -40,7 +40,7 @@ Item {
anchors.leftMargin: 8
HiFiGlyphs {
id: back;
enabled: currentPage > 0
enabled: currentPage >= 0
text: hifi.glyphs.backward
color: enabled ? hifistyles.colors.text : hifistyles.colors.disabledText
size: 48
@ -107,6 +107,8 @@ Item {
function goBack() {
if (currentPage > 0) {
currentPage--;
} else if (parentStackItem) {
parentStackItem.pop();
}
}