add people to similar queries

This commit is contained in:
Luke Pulverenti 2016-06-02 15:32:15 -04:00
parent 84d590fd7c
commit 417821cb5a
2 changed files with 7 additions and 7 deletions

View File

@ -132,7 +132,7 @@
elem.querySelector('.recordingItems').innerHTML = html;
ImageLoader.lazyChildren(elem);
$(elem).createCardMenus();
LibraryBrowser.createCardMenus(elem);
});
}

View File

@ -2,7 +2,7 @@
var page = this;
$('.btnLogout', page).on('click', function () {
page.querySelector('.btnLogout').addEventListener('click', function () {
Dashboard.logout();
});
@ -15,11 +15,11 @@ pageIdOn('pageshow', 'myPreferencesMenuPage', function () {
var userId = getParameterByName('userId') || Dashboard.getCurrentUserId();
$('.lnkDisplayPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
$('.lnkLanguagePreferences', page).attr('href', 'mypreferenceslanguages.html?userId=' + userId);
$('.lnkHomeScreenPreferences', page).attr('href', 'mypreferenceshome.html?userId=' + userId);
$('.lnkMyProfile', page).attr('href', 'myprofile.html?userId=' + userId);
$('.lnkSync', page).attr('href', 'mysyncsettings.html?userId=' + userId);
page.querySelector('.lnkDisplayPreferences').setAttribute('href', 'mypreferencesdisplay.html?userId=' + userId);
page.querySelector('.lnkLanguagePreferences').setAttribute('href', 'mypreferenceslanguages.html?userId=' + userId);
page.querySelector('.lnkHomeScreenPreferences').setAttribute('href', 'mypreferenceshome.html?userId=' + userId);
page.querySelector('.lnkMyProfile').setAttribute('href', 'myprofile.html?userId=' + userId);
page.querySelector('.lnkSync').setAttribute('href', 'mysyncsettings.html?userId=' + userId);
if (Dashboard.capabilities().SupportsSync) {
page.querySelector('.lnkSync').classList.remove('hide');