mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed errors in IE
This commit is contained in:
@@ -331,6 +331,7 @@ ul #chat-log{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.main{
|
.main{
|
||||||
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width:99%;
|
max-width:99%;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@@ -760,7 +761,7 @@ ul #chat-log{
|
|||||||
margin-top: initial;
|
margin-top: initial;
|
||||||
width: 65%;
|
width: 65%;
|
||||||
width: calc(90% - 256px - 130px);
|
width: calc(90% - 256px - 130px);
|
||||||
left: initial;
|
left: 25%;
|
||||||
}
|
}
|
||||||
.title-container li {
|
.title-container li {
|
||||||
width: 71%;
|
width: 71%;
|
||||||
|
|||||||
@@ -295,6 +295,16 @@ function notifyUser(id, title) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Element.prototype.remove = function() {
|
||||||
|
this.parentElement.removeChild(this);
|
||||||
|
}
|
||||||
|
NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {
|
||||||
|
for(var i = 0, len = this.length; i < len; i++) {
|
||||||
|
if(this[i] && this[i].parentElement) {
|
||||||
|
this[i].parentElement.removeChild(this[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function getRandomInt(min, max) {
|
function getRandomInt(min, max) {
|
||||||
return Math.floor(Math.random() * (max - min)) + min;
|
return Math.floor(Math.random() * (max - min)) + min;
|
||||||
|
|||||||
Reference in New Issue
Block a user