Ticket #1143: uniquebugv3.patch
| File uniquebugv3.patch, 788 bytes (added by vmx, 5 years ago) |
|---|
-
jquery-1.1.
old new if(typeof window.jQuery == "undefined") 7 7 * Dual licensed under the MIT (MIT-LICENSE.txt) 8 8 * and GPL (GPL-LICENSE.txt) licenses. 9 9 * 10 * $Date: 2007-05- 21 00:49:26 +0000 (Mon, 21 May2007) $11 * $Rev: 19 38$10 * $Date: 2007-05-16 18:21:50 +0200 (Mi, 16 Mai 2007) $ 11 * $Rev: 1910 $ 12 12 */ 13 13 14 14 // Global undefined variable … … jQuery.extend({ 1678 1678 var r = [], num = jQuery.mergeNum++; 1679 1679 1680 1680 for ( var i = 0, fl = first.length; i < fl; i++ ) 1681 if ( num != first[i].mergeNum) {1682 first[i].mergeNum = num;1681 if ( !first[i].mergeNum || num != first[i].mergeNum[0] ) { 1682 first[i].mergeNum = [num]; 1683 1683 r.push(first[i]); 1684 1684 } 1685 1685
