Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Fixed issue with SeaMonkey (one of the few browsers that didn't suppo…
Browse files Browse the repository at this point in the history
…rt innerText on DOM elements)
  • Loading branch information
jeffpar committed Mar 24, 2016
1 parent bdd9edf commit 0daf752
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 69 deletions.
2 changes: 1 addition & 1 deletion docs/pcjs/examples/pc-dbg.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pcjs/examples/pc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions modules/pcjs/lib/fdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1483,8 +1483,9 @@ FDC.prototype.findDiskette = function(sPath)
var controlDisks = this.bindings["listDisks"];
if (controlDisks && controlDisks.options) {
for (var i = 0; i < controlDisks.options.length; i++) {
if (controlDisks.options[i].value == sPath) {
return controlDisks.options[i].innerText;
var control = controlDisks.options[i];
if (control.value == sPath) {
return control.textContent;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions versions/c1pjs/1.21.3/c1p-dbg.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions versions/c1pjs/1.21.3/c1p.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0daf752

Please sign in to comment.