##// END OF EJS Templates
Merge pull request #7474 from mathieu1/tooltip-prevent-default...
Matthias Bussonnier -
r19963:5838bae0 merge
parent child Browse files
Show More
@@ -40,6 +40,7 define([
40 40 var expandlink = $('<a/>').attr('href', "#").addClass("ui-corner-all") //rounded corner
41 41 .attr('role', "button").attr('id', 'expanbutton').attr('title', 'Grow the tooltip vertically (press shift-tab twice)').click(function () {
42 42 that.expand();
43 event.preventDefault();
43 44 }).append(
44 45 $('<span/>').text('Expand').addClass('ui-icon').addClass('ui-icon-plus'));
45 46
@@ -49,6 +50,7 define([
49 50 morelink.append(morespan);
50 51 morelink.click(function () {
51 52 that.showInPager(that._old_cell);
53 event.preventDefault();
52 54 });
53 55
54 56 // close the tooltip
@@ -57,6 +59,7 define([
57 59 closelink.append(closespan);
58 60 closelink.click(function () {
59 61 that.remove_and_cancel_tooltip(true);
62 event.preventDefault();
60 63 });
61 64
62 65 this._clocklink = $('<a/>').attr('href', "#");
@@ -69,6 +72,7 define([
69 72 this._clocklink.append(clockspan);
70 73 this._clocklink.click(function () {
71 74 that.cancel_stick();
75 event.preventDefault();
72 76 });
73 77
74 78
General Comments 0
You need to be logged in to leave comments. Login now