Browse Source

Added Donate Tooltip.io Window to donate buttons

pull/367/head
Ramiro Saenz 9 years ago
parent
commit
441faacd5c
  1. 6
      app/view/main/Main.js
  2. 4
      app/view/main/MainController.js

6
app/view/main/Main.js

@ -292,15 +292,15 @@ Ext.define('Rambox.view.main.Main', {
,items: [ ,items: [
{ {
text: '<b>Donate</b> with' text: '<b>Donate</b> with'
,overCls: '' ,handler: 'showDonate'
} }
,{ ,{
glyph: 'xf1ed@FontAwesome' glyph: 'xf1ed@FontAwesome'
,href: 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WU75QWS7LH2CA' ,handler: 'showDonate'
} }
,{ ,{
glyph: 'xf15a@FontAwesome' glyph: 'xf15a@FontAwesome'
,href: 'https://www.coinbase.com/saenzramiro' ,handler: 'showDonate'
} }
] ]
} }

4
app/view/main/MainController.js

@ -376,4 +376,8 @@ Ext.define('Rambox.view.main.MainController', {
logoutFn(); logoutFn();
} }
} }
,showDonate: function( btn ) {
Tooltip.API.show('tChaoq3PwSG9wswhn');
}
}); });

Loading…
Cancel
Save