Skip to content

Commit

Permalink
input-many add button behaves strangely in IE [#796] (credit Bryan La…
Browse files Browse the repository at this point in the history
…rsen)
  • Loading branch information
ddnexus committed Nov 27, 2010
1 parent 072cda6 commit 70773e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/generators/hobo/rapid/templates/hobo-rapid.js
Expand Up @@ -691,7 +691,7 @@ HoboInputMany = {
Event.stop(ev);
var ul = el.up('ul.input-many'), li = el.up('li.input-many-li');

if(li.id.search(/_-1$/ && ul.immediateDescendants().length>2)>=0) {
if(li.id.search(/_-1$/)>=0 && ul.immediateDescendants().length>2) {
/* if(console) console.log("IE7 messed up again (bug 605)"); */
return;
}
Expand Down

0 comments on commit 70773e3

Please sign in to comment.