File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta http-equiv ="content-type " content ="text/html; charset=ISO-8859-1 ">
5
5
< title > jquery.ui-contextmenu.js - Demo</ title >
6
- < link type ="text/css " rel ="stylesheet " href ="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/start/jquery-ui.css " />
6
+ < link type ="text/css " rel ="stylesheet " href ="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/start/jquery-ui.min. css " />
7
7
<!-- min requirements:
8
8
<link type="text/css" rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
9
9
<script src="http://code.jquery.com/jquery-1.7.js" type="text/javascript"></script>
10
10
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js" type="text/javascript"></script>
11
11
-->
12
- < script src ="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js " type ="text/javascript "> </ script >
13
- < script src ="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js " type ="text/javascript "> </ script >
12
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min. js " type ="text/javascript "> </ script >
13
+ < script src ="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min. js " type ="text/javascript "> </ script >
14
14
15
15
<!-- Some custom library to enable 'taphold' events -->
16
16
< script src ="jquery-taphold/taphold.js " type ="text/javascript "> </ script >
110
110
var $menu = ui . menu ,
111
111
$target = ui . target ,
112
112
extraData = ui . extraData ; // passed when menu was opened by call to open()
113
+
113
114
// console.log("beforeOpen", event, ui, event.originalEvent.type);
115
+
116
+ ui . menu . zIndex ( $ ( event . target ) . zIndex ( ) + 1 ) ;
117
+
114
118
$ ( document )
115
119
// .contextmenu("replaceMenu", [{title: "aaa"}, {title: "bbb"}])
116
120
// .contextmenu("replaceMenu", "#options2")
You can’t perform that action at this time.
0 commit comments