mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2025-06-20 04:44:35 -04:00
Initial Commit
This commit is contained in:
commit
cc2af611e1
148 changed files with 54234 additions and 0 deletions
565
public/js/app.js
vendored
Normal file
565
public/js/app.js
vendored
Normal file
File diff suppressed because one or more lines are too long
20
public/js/share.js
vendored
Normal file
20
public/js/share.js
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
var popupSize = {
|
||||
width: 780,
|
||||
height: 550
|
||||
};
|
||||
|
||||
$(document).on('click', '.social-button', function (e) {
|
||||
var verticalPos = Math.floor(($(window).width() - popupSize.width) / 2),
|
||||
horisontalPos = Math.floor(($(window).height() - popupSize.height) / 2);
|
||||
|
||||
var popup = window.open($(this).prop('href'), 'social',
|
||||
'width=' + popupSize.width + ',height=' + popupSize.height +
|
||||
',left=' + verticalPos + ',top=' + horisontalPos +
|
||||
',location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1');
|
||||
|
||||
if (popup) {
|
||||
popup.focus();
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue