[gnome-shell/wip/paging-release: 39/39] PaginationScrollView: popdown collection only if not null
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release: 39/39] PaginationScrollView: popdown collection only if not null
- Date: Tue, 13 Aug 2013 21:12:36 +0000 (UTC)
commit 62aa190a850b86e85d36f0bdf910c0bf25197023
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Mon Aug 12 20:13:22 2013 +0200
PaginationScrollView: popdown collection only if not null
js/ui/appDisplay.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 7228093..1bc2fc9 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -452,9 +452,9 @@ const PaginationScrollView = new Lang.Class({
},
goToPage: function(pageNumber, action) {
- if(this._currentPage != pageNumber && this._pages.displayingPopup) {
+ if(this._currentPage != pageNumber && this._pages.displayingPopup && this._currentPopup) {
this._currentPopup.popdown();
- } else if(this._pages.displayingPopup){
+ } else if(this._pages.displayingPopup && this._currentPopup){
return;
}
let velocity;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]