Aleksander Machniak
2013-10-30 6a91448aee5d036b35c621bbdaff250dc84e15f3
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;