Thomas Bruederli
2013-11-10 ceb2a31b3857925e749047e2c4c574a38bf8e9ed
program/js/common.js
@@ -592,6 +592,14 @@
  return tzo;
}
// define String's startsWith() method for old browsers
if (!String.prototype.startsWith) {
  String.prototype.startsWith = function(search, position) {
    position = position || 0;
    return this.slice(position, search.length) === search;
  };
}
// Make getElementById() case-sensitive on IE
if (bw.ie) {
  document._getElementById = document.getElementById;