mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +03:00
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.
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
if (window.console === undefined) {
|
||||
window.console = function() {} // IE compatibility
|
||||
}
|
||||
|
||||
$(window).resize(function() {
|
||||
Backend.placeFooterToBottom();
|
||||
}).trigger('resize');
|
||||
|
|
|
@ -41,6 +41,10 @@ var FrontendBook = {
|
|||
manageMode = false; // Default Value
|
||||
}
|
||||
|
||||
if (window.console === undefined) {
|
||||
window.console = function() {} // IE compatibility
|
||||
}
|
||||
|
||||
FrontendBook.manageMode = manageMode;
|
||||
|
||||
// Initialize page's components (tooltips, datepickers etc).
|
||||
|
|
Loading…
Reference in a new issue