From 425aede92eca06c9d2b1b2413317cf3754fe5633 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Wed, 17 Sep 2014 21:52:49 +0200 Subject: [PATCH] custom: added armory-formated string to TalentCalc summary (addon compatibility) --- static/js/TalentCalc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/js/TalentCalc.js b/static/js/TalentCalc.js index 52fbf211..0ee1987f 100644 --- a/static/js/TalentCalc.js +++ b/static/js/TalentCalc.js @@ -603,6 +603,12 @@ function TalentCalc() { buffer += ''; buffer += '

'; + // custom: deploy old armory-string + buffer += '

' + LANG.tc_export + LANG.colon + '

'; + buffer += '
?cid=' + _currentClass + '&tal=' + $WowheadTalentCalculator.getBlizzBuild() + '
'; + buffer += '

'; + // custom end + for (i = 0; i < _nTrees; ++i) { buffer += '

' + c[i].n + ' (' + c[i].k + ' ' + LANG[c[i].k == 1 ? 'tc_point': 'tc_points'] + ')

'; buffer += '
';