[gnome-shell/wip/paging-release: 38/38] 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: 38/38] PaginationScrollView: popdown collection only if not null
- Date: Tue, 13 Aug 2013 20:14:12 +0000 (UTC)
commit 29a64cb30436f2ea1298838e279c494882f8ae89
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 b43196f..6ba3bed 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]