зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 4c8cc6044599 (bug 1382570) because it might have caused the spike in browser_page_action_menu.js failures a=backout CLOSED TREE
MozReview-Commit-ID: HCTskH7e4RF
This commit is contained in:
Родитель
db7d003ae0
Коммит
949b1032a9
|
@ -1962,8 +1962,8 @@ var BookmarkingUI = {
|
|||
},
|
||||
|
||||
onStarCommand(aEvent) {
|
||||
// Ignore non-left clicks on the star, or if we are updating its state.
|
||||
if (!this._pendingUpdate && aEvent.button == 0) {
|
||||
// Ignore clicks on the star if we are updating its state.
|
||||
if (!this._pendingUpdate) {
|
||||
let isBookmarked = this._itemGuids.size > 0;
|
||||
// Disable the old animation in photon
|
||||
if (!isBookmarked && !AppConstants.MOZ_PHOTON_THEME)
|
||||
|
|
Загрузка…
Ссылка в новой задаче