Jonaskeutel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/218123

Change subject: manual cherry-pick of Dimitris fix for js
......................................................................

manual cherry-pick of Dimitris fix for js

Change-Id: I72bd2ae51dbc48b51faa09f481d4edeb515b798b
---
M modules/SpecialConstraintReportPage.js
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikidataQualityConstraints
 refs/changes/23/218123/1

diff --git a/modules/SpecialConstraintReportPage.js 
b/modules/SpecialConstraintReportPage.js
index 9e6455e..3d50bf7 100755
--- a/modules/SpecialConstraintReportPage.js
+++ b/modules/SpecialConstraintReportPage.js
@@ -4,10 +4,10 @@
     });
     $('.wbqc-indicator').hover(
         function(){
-            $(this).parent().parent().find('.wbqc-tooltip').css('display', 
'flex');
+            $(this).parent().find('.wbqc-tooltip').show();
         },
         function(){
-            $(this).parent().parent().find('.wbqc-tooltip').css('display', 
'none');
+            $(this).parent().find('.wbqc-tooltip').css('display', 'none');
         }
     );
 
@@ -17,7 +17,7 @@
     if($(e.target).attr("class") == 'wbqc-indicator') {
         tooltip = $(e.target).parent().find('.wbqc-tooltip');
         if(tooltip.css('display') == 'none') {
-            tooltip.css('display', 'flex');
+            tooltip.show();
         }
     }
 });

-- 
To view, visit https://gerrit.wikimedia.org/r/218123
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72bd2ae51dbc48b51faa09f481d4edeb515b798b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Jonaskeutel <jonas.keu...@student.hpi.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to