Last change
on this file since e3349ca was
747e744,
checked in by Antonio Araujo <aaraujo@…>, 7 years ago
|
Creado directorio prototipo con fuentes de la modificación del portal para establecer la ubicación de la firma visible
|
-
Property mode set to
100644
|
File size:
493 bytes
|
Line | |
---|
1 | // IE8 polyfill |
---|
2 | HTMLDocument.prototype.getElementsByClassName = |
---|
3 | Element.prototype.getElementsByClassName = |
---|
4 | function getElementsByClassName (className) { |
---|
5 | for (var res = [], els = this.getElementsByTagName('*'), n = els.length; n--;) { |
---|
6 | if (els[n].className.indexOf(className) > -1) { |
---|
7 | res.push(els[n]); |
---|
8 | } |
---|
9 | } |
---|
10 | return res; |
---|
11 | } |
---|
12 | |
---|
13 | // prevent selection because it's annoying when dragging |
---|
14 | document.onselectstart = function(){ return false; }; |
---|
15 | document.body.setAttribute('unselectable', 'on', 0); |
---|
Note: See
TracBrowser
for help on using the repository browser.