mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Enhance share feature with modal dialog choices
Add Facebook / Twitter / GooglePlus external share plugins
This commit is contained in:
parent
53f12cf2b2
commit
80cde0c626
23 changed files with 478 additions and 12 deletions
|
@ -39,7 +39,7 @@ $(function() {
|
|||
|
||||
$("body").delegate("a", "click", function() {
|
||||
var link = $(this).attr("href");
|
||||
if (link != "" && link.indexOf("javascript:") != 0 && link != "#" && link != undefined && $(this).attr("onclick") == undefined && $(this).attr("rel") != "nohtml" && $(this).attr("target") != "_blank") {
|
||||
if (link !== undefined && link != "" && link.indexOf("javascript:") != 0 && link != "#" && link != undefined && $(this).attr("onclick") == undefined && $(this).attr("rel") != "nohtml" && $(this).attr("target") != "_blank") {
|
||||
if ($(this).attr("rel") != "prettyPhoto") {
|
||||
// Ajax load Ampache pages only
|
||||
if (link.indexOf(jsWebPath) > -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue