Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<!-- Required dependencies -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="./jquery.fieldselection.js"></script>
<script type="text/javascript" src="./jquery.scrollTo.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions jquery.tagmate.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ var Tagmate = (function() {
// Mouse menu activation
//menu.find("." + defaults.menu_option_class) // Doesn't work
$("." + defaults.menu_class + " ." + defaults.menu_option_class)
.die("click.tagmate")
.live("click.tagmate", function() {
.off("click.tagmate")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mouse events were not working even by replacing .off and .on
Please help

.on("click.tagmate", function() {
var value = $(this).text();
var tag = parse_tag(textarea);
replace_tag(textarea, tag, value);
Expand Down