More actions
No edit summary |
Turhan Bey (talk | contribs) Pehuen's Fleet-Up changes |
||
| Line 295: | Line 295: | ||
})(jQuery); | })(jQuery); | ||
}catch(e){console.log("Joel screwed up! Contact Miranda McLaughlin.", e);} | }catch(e){console.log("Joel screwed up! Contact Miranda McLaughlin.", e);} | ||
/** EVE-University - Fitting Template ******************* | |||
* | |||
* Description: Opens Fleet-Up in a new window | |||
* | |||
* Maintainers: Pehuen | |||
**********************************************************/ | |||
try{ | |||
(function($) { | |||
$(function() { | |||
$(function() { | |||
$('.shipFitting .button.fleetup').on('click', showFleetUp); | |||
}); | |||
function showFleetUp() { | |||
var fleetup = $(this).attr("data-fleetup"); | |||
var fleetup_url = fleetup; | |||
window.open(fleetup_url, fleetup); | |||
return false; | |||
} | |||
}); | |||
})(jQuery); | |||
}catch(e){console.log("Pehuen screwed up! Post on the forums.", e);} | |||