Fixed Issue 408: Uplift to jQuery 1.4.1. Also fixed minor bugs caused by 1.4 related to custom dropdown menus
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1280 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
163
editor/jquery.js
vendored
163
editor/jquery.js
vendored
File diff suppressed because one or more lines are too long
@@ -826,7 +826,7 @@ function svg_edit_setup() {
|
||||
list.fadeOut(200);
|
||||
};
|
||||
|
||||
$().mouseup(function(evt) {
|
||||
$(window).mouseup(function(evt) {
|
||||
if(!on_button) {
|
||||
button.removeClass('down');
|
||||
// do not hide if it was the file input as that input needs to be visible
|
||||
@@ -895,7 +895,7 @@ function svg_edit_setup() {
|
||||
|
||||
$(elem).find('li').bind('mouseup', callback);
|
||||
|
||||
$().mouseup(function(evt) {
|
||||
$(window).mouseup(function(evt) {
|
||||
if(!on_button) {
|
||||
button.removeClass('down');
|
||||
list.hide();
|
||||
@@ -937,6 +937,7 @@ function svg_edit_setup() {
|
||||
},
|
||||
stop: function() {
|
||||
$('#opacity_dropdown li').show();
|
||||
$(window).mouseup();
|
||||
},
|
||||
slide: function(evt, ui){
|
||||
changeOpacity(ui);
|
||||
|
||||
Reference in New Issue
Block a user