Spaces:
Running
Running
Ian Renton
commited on
Commit
•
5fd7f67
1
Parent(s):
5881104
Mousedown to select window not just click
Browse files
code.js
CHANGED
@@ -50,7 +50,7 @@ $( function() {
|
|
50 |
});
|
51 |
};
|
52 |
})();
|
53 |
-
$('.window').
|
54 |
$(this).selectWindow();
|
55 |
});
|
56 |
|
@@ -58,4 +58,4 @@ $( function() {
|
|
58 |
$('.icon').click(function() {
|
59 |
$(this).find('p').toggleClass('highlight');
|
60 |
});
|
61 |
-
} );
|
|
|
50 |
});
|
51 |
};
|
52 |
})();
|
53 |
+
$('.window').mousedown(function() {
|
54 |
$(this).selectWindow();
|
55 |
});
|
56 |
|
|
|
58 |
$('.icon').click(function() {
|
59 |
$(this).find('p').toggleClass('highlight');
|
60 |
});
|
61 |
+
} );
|