MAID: Cleaned up syntax of file

This commit is contained in:
jason.wall 2017-08-07 16:42:12 -04:00
parent 4be73ab2a6
commit d3757cdff1

View File

@ -166,7 +166,7 @@ export class SearchPage implements OnInit
{
let page = this.userProfile.user.saved_pages.find(
i =>
i.title == this.params.data.title
i.title === this.params.data.title
);
page.queries = this.userProfile.user.items.slice();
this.userProfile.save(this.local);
@ -305,7 +305,7 @@ export class SearchPage implements OnInit
{
for (let item of lst)
{
if (item.type == "Strongs" && this.userProfile.user.strongs_modal && !from_search_bar)
if (item.type === "Strongs" && this.userProfile.user.strongs_modal && !from_search_bar)
{
let modal = this.modalCtrl.create(StrongsModal, { sn: parseInt(item.qry), dict: item.dict, onItemClicked: this });
modal.present();