diff options
Diffstat (limited to 'qml/pages/LeaderBoard.qml')
-rw-r--r-- | qml/pages/LeaderBoard.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/pages/LeaderBoard.qml b/qml/pages/LeaderBoard.qml index 1c1fb33..39ca742 100644 --- a/qml/pages/LeaderBoard.qml +++ b/qml/pages/LeaderBoard.qml @@ -1,6 +1,6 @@ import QtQuick 2.2 import Sailfish.Silica 1.0 -import org.nemomobile.configuration 1.0 +import Nemo.Configuration 1.0 Page { id: page @@ -40,7 +40,7 @@ Page { if (xhr.readyState === 4 && xhr.status === 200) { list.model = JSON.parse(xhr.responseText); internet.visible = false; - } else { + } else if (xhr.readyState === 4) { list.model = [] internet.visible = true; } |