mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
Adopt expose description to audio files
This commit is contained in:
parent
17b900349d
commit
bf920abc90
@ -291,7 +291,14 @@ export class et2_description extends expose(class et2_description extends et2_ba
|
||||
$span.click(function(e) {
|
||||
if (self.options.expose_view && typeof self.options.mime !='undefined' && self.options.mime.match(self.mime_regexp,'ig'))
|
||||
{
|
||||
self._init_blueimp_gallery(e, href);
|
||||
if (self.options.mime.match(self.mime_audio_regexp, 'ig'))
|
||||
{
|
||||
self._audio_player(href);
|
||||
}
|
||||
else
|
||||
{
|
||||
self._init_blueimp_gallery(e, href);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user