From 1deb0149f7ae2cb9879f92a07d49e44511f4a8ec Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Wed, 1 Jun 2016 10:32:28 +0300 Subject: [PATCH] Code fixed --- tns-core-modules/ui/frame/frame-common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tns-core-modules/ui/frame/frame-common.ts b/tns-core-modules/ui/frame/frame-common.ts index 4740db8c9..3f01ea9bb 100644 --- a/tns-core-modules/ui/frame/frame-common.ts +++ b/tns-core-modules/ui/frame/frame-common.ts @@ -39,8 +39,8 @@ function buildEntryFromArgs(arg: any): definition.NavigationEntry { export function reloadPage(): void { let frame = topmost(); if (frame) { - if (frame.currentPage && (frame.currentPage)._modal) { - (frame.currentPage)._modal.closeModal(); + if (frame.currentPage && frame.currentPage.modal) { + frame.currentPage.modal.closeModal(); } let currentEntry = frame._currentEntry.entry;