Merge pull request #11411 from ctrlaltdavid/21546

Fix Record app's toolbar button not highlighting when app dialog open
This commit is contained in:
Seth Alves 2017-09-20 12:31:33 -07:00 committed by GitHub
commit a4082dc7e9

View file

@ -571,7 +571,7 @@
function onTabletScreenChanged(type, url) {
// Opened/closed dialog in tablet or window.
var RECORD_URL = "/scripts/system/html/record.html";
var RECORD_URL = "/html/record.html";
if (type === "Web" && url.slice(-RECORD_URL.length) === RECORD_URL) {
if (Dialog.finishOnOpen()) {