1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 13:54:26 +03:00
ifhub.club/application/frontend/skin/developer/components/ls-core/ie.js
Denis Shakhov 42321428f8 Компоненты ls-core и ls-vendor
* Перенесены либы из фреймворка
2014-10-24 20:26:11 +07:00

29 lines
562 B
JavaScript

/**
* Костыли для IE
*
* @module ie
*
* @license GNU General Public License, version 2
* @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
* @author Denis Shakhov <denis.shakhov@gmail.com>
*/
var ls = ls || {};
ls.ie = (function ($) {
"use strict";
/**
* Инициализация
*/
this.init = function() {
if ($('html').hasClass('oldie')) {
/**
* Эмуляция placeholder'ов в IE
*/
$('input[type=text], textarea').placeholder();
}
};
return this;
}).call(ls.ie || {}, jQuery);