Comments (5)
Can you give more details please? This log is not helping, use the source file instead of the minified one, and then please show how you called the plugin with what options like which buttons do you use etc.
from jquery-floating-social-share.
Thank you. I have just changed to use the non-minified version under the "src" directory, but still got the same error.
I am using it in a Drupal 8 site with the below code to call the function. It was used from version 1.8.1. It works perfectly at version 1.8.1.
`(function ($, Drupal) {
Drupal.behaviors.myModuleBehavior = {
attach: function (context, settings) {
jQuery(".node--type-article .post-content .node__content").floatingSocialShare({
place: "left", // alternatively content-left, content-right, top-right
counter: true, // set to false for hiding the counters of buttons
twitter_counter: false, // Twitter API does not provide counters without API key, register to https://opensharecount.com/
buttons: ["envelope", "facebook", "google-plus", "linkedin", "pinterest", "twitter"], // all of the currently avalaible social buttons
title: document.title, // your title, default is current page's title
url: window.location.href, // your url, default is current page's url
text: {'default': 'share with ', 'facebook': 'share with facebook', 'google-plus': 'share with g+'}, // the title of tags
text_title_case: false, // if set true, then will convert share texts to title case like Share With G+
description: $('meta[name="description"]').attr("content"), // your description, default is current page's description
media: $('meta[property="og:image"]').attr("content"), // pinterest media
popup_width: 400, // the sharer popup width, default is 400px
popup_height: 300 // the sharer popup height, default is 300px
});
}
};
})(jQuery, Drupal);`
from jquery-floating-social-share.
Why did you close the issue, you found the problem? Also envelope is removed in v2.0, use mail instead.
from jquery-floating-social-share.
I closed accidentally, sorry. I am reopening it.
from jquery-floating-social-share.
Oh thank you, after I replaced "envelope" to "mail", it works.
from jquery-floating-social-share.
Related Issues (18)
- Controlling pinterest share content HOT 2
- Position left of main content HOT 4
- css box-sizing rule HOT 1
- Facebook and Google share not working HOT 6
- Console - Failed to load resource: net::ERR_NAME_NOT_RESOLVED HOT 12
- Can't get it to work on my site, cannot read property data of undefined HOT 5
- Not working HOT 4
- Hover over top-right button HOT 2
- Remove Font Awesome Dependency HOT 1
- Fixes CSS HOT 6
- JavaScript (Maybe!?) HOT 1
- Fontawsome HOT 2
- Pinterest sharing isn't working anymore HOT 1
- rel='noopener' HOT 1
- Share with Viber? HOT 1
- Remove jQuery dependency and rewrite the package
- Refactor code without jQuery HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-floating-social-share.