Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #58 from chrishumboldt/dev-rocket
Browse files Browse the repository at this point in the history
Fixed remove calls bug.
  • Loading branch information
chrishumboldt committed Oct 4, 2017
2 parents 7b7e822 + d4b8bce commit b140260
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/js/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ let Rocket;

if (elms.length > 0) {
for (var i = 0, len = elms.length; i < len; i++) {
if (Rocket.exists(elm[i])) {
elm[i].removeAttribute('class');
if (Rocket.exists(elms[i])) {
elms[i].removeAttribute('class');
}
}
}
Expand Down Expand Up @@ -1042,7 +1042,7 @@ let Rocket;
break;
}
};

// Handle network errors
xhr.onerror = function() {
reject({
Expand Down
Loading

0 comments on commit b140260

Please sign in to comment.