[epiphany] overview: Fix for animation when removing item
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] overview: Fix for animation when removing item
- Date: Tue, 4 Oct 2016 17:45:44 +0000 (UTC)
commit c530f2c36a79571ca7c028b1bcfd9ded21335815
Author: Estêvão Samuel Procópio Amaral <tevaum gmail com>
Date: Sun Oct 2 21:20:19 2016 -0300
overview: Fix for animation when removing item
https://bugzilla.gnome.org/show_bug.cgi?id=772350
embed/ephy-about-handler.c | 2 +-
src/resources/about.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index 954acca..ba26eb2 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -463,7 +463,7 @@ history_service_query_urls_cb (EphyHistoryService *history,
" }\n"
" }\n"
" function removeFromOverview(elem, event) {\n"
- " var listItemNode = elem.parentElement;\n"
+ " var listItemNode = elem;\n"
" event.preventDefault();\n"
" listItemNode.className +=\" overview-removed \";\n"
" window.webkit.messageHandlers.overview.postMessage(elem.href);\n"
diff --git a/src/resources/about.css b/src/resources/about.css
index 3c66d4c..f417ede 100644
--- a/src/resources/about.css
+++ b/src/resources/about.css
@@ -292,7 +292,7 @@ html.epiphany-html {
opacity: 1;
}
-.overview-removed .overview-item {
+.overview-removed.overview-item {
transition: all 0.75s ease-in-out;
width: 0;
margin: 15px 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]