Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-09-30 05:31:46 +0300
committerGitHub <noreply@github.com>2016-09-30 05:31:46 +0300
commit977f8e27722c11c3514a4f19c3b035c952a85202 (patch)
tree67a2317c69d59199db34b20ed3f7b2e6e4e48469 /plugins/SegmentEditor/javascripts/Segmentation.js
parent53d163237d6a9796c82bab3c696df87804f1c3e8 (diff)
Remove the "Segment editor was crowdfunded" link on hover, to keep things simpler (#10599)
Diffstat (limited to 'plugins/SegmentEditor/javascripts/Segmentation.js')
-rw-r--r--plugins/SegmentEditor/javascripts/Segmentation.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/SegmentEditor/javascripts/Segmentation.js b/plugins/SegmentEditor/javascripts/Segmentation.js
index 812daeb2e1..66a5e3480a 100644
--- a/plugins/SegmentEditor/javascripts/Segmentation.js
+++ b/plugins/SegmentEditor/javascripts/Segmentation.js
@@ -592,10 +592,6 @@ Segmentation = (function($) {
// segment editor form events
//
- self.target.on('click', ".segment-element a:not(.crowdfundingLink)", function (e) {
- e.preventDefault();
- });
-
self.target.on('click', "a.editSegmentName", function (e) {
var oldName = $(e.currentTarget).parents("h3").find("span").text();
$(e.currentTarget).parents("h3").find("span").hide();
@@ -1033,12 +1029,6 @@ Segmentation = (function($) {
parseFormAndSave();
});
- $(self.form).find('.segment-footer').hover( function() {
- $('.segmentFooterNote', self.target).fadeIn();
- }, function() {
- $('.segmentFooterNote', self.target).fadeOut();
- });
-
if(typeof mode !== "undefined" && mode == "new")
{
$(self.form).find(".editSegmentName").trigger('click');