summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-10-24 09:48:36 +0200
committeremkael <emkael@tlen.pl>2016-10-24 09:48:36 +0200
commitc36d0551b95b0a9b56915a4e4bcd0cd584a9b194 (patch)
tree51ffd8feb67fa42707527887959899e0f4704e1b
parent89ce78486523a0d7f70af7977f9b0851d2c3558a (diff)
* jQuery 3 compatibilityHEADmaster
-rw-r--r--how.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/how.js b/how.js
index 4997369..7193d50 100644
--- a/how.js
+++ b/how.js
@@ -420,7 +420,7 @@ jQuery(document).ready(function() {
var move = m.split('-');
var listCell = jQuery('<div>').addClass('list-movement').attr('data-movement', m).text(move[0]);
var listRow = moveList.find('div[data-rounds="'+move[1]+'"]');
- if (listRow.size()) {
+ if (listRow.length) {
listRow.append(listCell);
}
else {