Added window.console IE9 workaround.
This commit is contained in:
parent
648e82840f
commit
0cb586c6fe
2 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,10 @@
|
||||||
* Main javascript code for the backend of Easy!Appointments.
|
* Main javascript code for the backend of Easy!Appointments.
|
||||||
*/
|
*/
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
if (window.console === undefined) {
|
||||||
|
window.console = function() {} // IE compatibility
|
||||||
|
}
|
||||||
|
|
||||||
$(window).resize(function() {
|
$(window).resize(function() {
|
||||||
Backend.placeFooterToBottom();
|
Backend.placeFooterToBottom();
|
||||||
}).trigger('resize');
|
}).trigger('resize');
|
||||||
|
|
|
@ -41,6 +41,10 @@ var FrontendBook = {
|
||||||
manageMode = false; // Default Value
|
manageMode = false; // Default Value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.console === undefined) {
|
||||||
|
window.console = function() {} // IE compatibility
|
||||||
|
}
|
||||||
|
|
||||||
FrontendBook.manageMode = manageMode;
|
FrontendBook.manageMode = manageMode;
|
||||||
|
|
||||||
// Initialize page's components (tooltips, datepickers etc).
|
// Initialize page's components (tooltips, datepickers etc).
|
||||||
|
|
Loading…
Reference in a new issue