Skip to content

Commit

Permalink
Fix for recent update to poe.trade's wispher function
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdy committed Jan 16, 2016
1 parent bfea29c commit 9eb1c80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion poe.trade.assist/html/assist.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ function sendWhisper(o) {
var message = "@" + item.data("ign") + " Hi, I would like to buy your " + item.data("name") + bo + " in " + item.data("league");
//window.prompt("Copy message to clipboard by pressing Ctrl+C", message);
assistcallback.copyToClipboard(message);
}
}

// 2016-01-16, poe.trade finally improved their whispher function, we need to adjust a bit

$('.whisper-btn').click( function() {
sendWhisper(this)
$(this).text("Copied to clipboard");
} );
2 changes: 1 addition & 1 deletion poe.trade.assist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>8.40.10-SNAPSHOT</version>
<version>8.40.10</version>
</dependency>
<dependency>
<groupId>com.mashape.unirest</groupId>
Expand Down

0 comments on commit 9eb1c80

Please sign in to comment.