Bug 1231728 - Fixes some code to follow eslint rules. r=mak
This commit is contained in:
@@ -318,8 +318,10 @@ var PlacesCommandHook = {
|
||||
* whether or not to show the edit-bookmark UI for the bookmark item
|
||||
*/
|
||||
bookmarkPage: Task.async(function* (aBrowser, aParent, aShowEditUI) {
|
||||
if (PlacesUIUtils.useAsyncTransactions)
|
||||
return (yield this._bookmarkPagePT(aBrowser, aParent, aShowEditUI));
|
||||
if (PlacesUIUtils.useAsyncTransactions) {
|
||||
yield this._bookmarkPagePT(aBrowser, aParent, aShowEditUI);
|
||||
return;
|
||||
}
|
||||
|
||||
var uri = aBrowser.currentURI;
|
||||
var itemId = PlacesUtils.getMostRecentBookmarkForURI(uri);
|
||||
|
||||
Reference in New Issue
Block a user