Skip to content

Commit d7537f8

Browse files
Merge pull request trentrichardson#439 from tobiasbunyan/dev
Fix splitDateTime function to work with IE7
2 parents 030cd2a + e6038cc commit d7537f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@
15711571
if (allPartsLen > 0) {
15721572
return [
15731573
allParts.splice(0,allPartsLen-timePartsLen).join(separator),
1574-
allParts.splice(timePartsLen*-1).join(separator)
1574+
allParts.splice(0,timePartsLen).join(separator)
15751575
];
15761576
}
15771577

0 commit comments

Comments
 (0)