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:
Wes Kocher 2017-08-03 18:42:02 -07:00
Родитель db7d003ae0
Коммит 949b1032a9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)