16
16
// @require http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js
17
17
// @require http://leaflet.github.io/Leaflet.markercluster/dist/leaflet.markercluster-src.js
18
18
// @require https://github.com/iamcal/js-emoji/raw/master/lib/emoji.js
19
- // @require https://github.com/zenorocha/clipboard.js/raw/master /dist/clipboard.min.js
19
+ // @require https://github.com/zenorocha/clipboard.js/raw/v2.0.0 /dist/clipboard.min.js
20
20
// @require https://github.com/le717/jquery-spoiler/raw/master/jquery.spoiler.min.js
21
21
// @require https://github.com/nathancahill/Split.js/raw/master/split.min.js
22
22
// @downloadURL https://github.com/Pmmlabs/OpenPeriscope/raw/master/Periscope_Web_Client.user.js
@@ -837,7 +837,7 @@ Chat: function () {
837
837
$ ( document . body ) . append ( contextmenu ) . off ( 'mousedown' ) . mousedown ( function ( ) {
838
838
contextmenu . remove ( ) ;
839
839
} ) ;
840
- new Clipboard ( '.contextmenu div' ) ;
840
+ new ClipboardJS ( '.contextmenu div' ) ;
841
841
} )
842
842
) ;
843
843
}
@@ -1587,7 +1587,7 @@ function getM3U(id, jcontainer) {
1587
1587
jcontainer . find ( '.links' ) . append ( '<a href="' + hls_url + '">Live M3U link</a>' ,
1588
1588
NODEJS ? [ ' | ' , $ ( '<a>Download</a>' ) . click ( switchSection . bind ( null , 'Console' , { url : hls_url , cookies : ffmpeg_cookies , name : _name , user_id : _user_id , user_name : _user_name } ) ) ] : '' ,
1589
1589
' | ' , clipboardLink ) ;
1590
- new Clipboard ( clipboardLink . get ( 0 ) ) ;
1590
+ new ClipboardJS ( clipboardLink . get ( 0 ) ) ;
1591
1591
}
1592
1592
if ( replay_url ) {
1593
1593
var replay_base_url = replay_url . replace ( / p l a y l i s t .* m 3 u 8 / ig, '' ) ;
@@ -1605,7 +1605,7 @@ function getM3U(id, jcontainer) {
1605
1605
jcontainer . find ( '.links' ) . append ( link ,
1606
1606
NODEJS ? [ ' | ' , $ ( '<a>Download</a>' ) . click ( switchSection . bind ( null , 'Console' , { url : replay_url , cookies : ffmpeg_cookies , name : _name , user_id : _user_id , user_name : _user_name } ) ) ] : '' ,
1607
1607
' | ' , clipboardLink ) ;
1608
- new Clipboard ( clipboardLink . get ( 0 ) ) ;
1608
+ new ClipboardJS ( clipboardLink . get ( 0 ) ) ;
1609
1609
}
1610
1610
} ) ;
1611
1611
}
0 commit comments